QTfrontend/ui/widget/mapContainer.cpp
changeset 13217 e9e4cc867b6e
parent 12902 fc47fc4af6bd
child 13233 d23742ccf92b
--- a/QTfrontend/ui/widget/mapContainer.cpp	Wed Mar 14 23:02:39 2018 +0100
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Wed Mar 14 23:55:13 2018 +0100
@@ -1068,7 +1068,8 @@
 
 void HWMapContainer::loadDrawing()
 {
-    QString fileName = QFileDialog::getOpenFileName(NULL, tr("Load drawn map"), ".", tr("Drawn Maps") + " (*.hwmap);;" + tr("All files") + " (*)");
+    QString loadDir = QDir(cfgdir->absolutePath() + "/DrawnMaps").absolutePath();
+    QString fileName = QFileDialog::getOpenFileName(this, tr("Load drawn map"), loadDir, tr("Drawn Maps") + " (*.hwmap);;" + tr("All files") + " (*)");
 
     if(fileName.isEmpty()) return;