Add update preview when picking random static
authornemo
Mon, 05 Sep 2011 15:48:46 -0400
changeset 5788 0837a4cac4c7
parent 5787 f2caf41f2984
child 5789 7643cbb88f09
Add update preview when picking random static
QTfrontend/mapContainer.cpp
--- a/QTfrontend/mapContainer.cpp	Mon Sep 05 15:32:58 2011 -0400
+++ b/QTfrontend/mapContainer.cpp	Mon Sep 05 15:48:46 2011 -0400
@@ -511,6 +511,7 @@
 {
     int i = MAPGEN_MAP + 3 + numMissions + rand() % (chooseMap->count() - MAPGEN_MAP - 3 - numMissions);
     chooseMap->setCurrentIndex(i);
+    updatePreview();
     setRandomSeed();
 }