From d36a4fb56bdcee8f62762ec94cc03062e6ae52f0 Mon Sep 17 00:00:00 2001 From: Alexandre Quessy Date: Sat, 3 May 2014 12:46:14 -0400 Subject: [PATCH] Fix: open dialog can open files with any ext --- MainWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MainWindow.cpp b/MainWindow.cpp index 6a6244a..e38d9df 100644 --- a/MainWindow.cpp +++ b/MainWindow.cpp @@ -205,7 +205,8 @@ void MainWindow::open() QString fileName = QFileDialog::getOpenFileName(this, tr("Open project"), ".", // TODO : change this to previous used one, if any - tr("MapMap files (*.%1)", MAPMAP_EXTENSION)); + //tr("MapMap files (*.%1)", MAPMAP_EXTENSION)); + tr("All files (*)")); if (! fileName.isEmpty()) loadFile(fileName); }