mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Fix: open dialog can open files with any ext
This commit is contained in:
+2
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user