QTfrontend/mapContainer.cpp
changeset 5993 412ada3d2041
parent 5795 3f36293e6945
child 6087 6e422ea250a1
--- a/QTfrontend/mapContainer.cpp	Thu Sep 22 15:30:40 2011 +0200
+++ b/QTfrontend/mapContainer.cpp	Thu Sep 22 23:20:11 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()