This should be a real fix (7643cbb88f09 reverted). Not tested.
authorunc0rr
Tue, 06 Sep 2011 20:53:26 +0400
changeset 5793 401ab167bd9f
parent 5792 a876df9730aa
child 5794 cc6e8403664d
This should be a real fix (7643cbb88f09 reverted). Not tested.
QTfrontend/mapContainer.cpp
--- a/QTfrontend/mapContainer.cpp	Tue Sep 06 10:40:32 2011 -0400
+++ b/QTfrontend/mapContainer.cpp	Tue Sep 06 20:53:26 2011 +0400
@@ -576,7 +576,10 @@
 void HWMapContainer::intSetMapgen(MapGenerator m)
 {
     mapgen = m;
-    chooseMap->setCurrentIndex(m);
+
+    if(m != MAPGEN_MAP)
+        chooseMap->setCurrentIndex(m);
+
     emit mapgenChanged(m);
 }
 
@@ -662,7 +665,7 @@
 void HWMapContainer::setAllMapParameters(const QString &map, MapGenerator m, int mazesize, const QString &seed, int tmpl)
 {
     intSetMap(map);
-    if (map[0]=='+') intSetMapgen(m);
+    intSetMapgen(m);
     intSetMazeSize(mazesize);
     intSetSeed(seed);
     intSetTemplateFilter(tmpl);