Fix: open dialog can open files with any ext

This commit is contained in:
Alexandre Quessy
2014-05-03 12:46:14 -04:00
parent 74b7f36582
commit d36a4fb56b
+2 -1
View File
@@ -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);
}