QTfrontend/mapContainer.cpp
branchhedgeroid
changeset 6023 a28be05b20bc
parent 5993 412ada3d2041
child 6087 6e422ea250a1
--- a/QTfrontend/mapContainer.cpp	Sun Sep 25 18:22:12 2011 +0200
+++ b/QTfrontend/mapContainer.cpp	Sun Sep 25 18:24:01 2011 +0200
@@ -509,14 +509,14 @@
 {
     int i = MAPGEN_MAP + 3 + numMissions + rand() % (chooseMap->count() - MAPGEN_MAP - 3 - numMissions);
     chooseMap->setCurrentIndex(i);
-    updatePreview();
+    mapChanged(i);
 }
 
 void HWMapContainer::setRandomMission()
 {
     int i = MAPGEN_MAP + 2 + rand() % numMissions;
     chooseMap->setCurrentIndex(i);
-    updatePreview();
+    mapChanged(i);
 }
 
 void HWMapContainer::setRandomSeed()