# HG changeset patch
# User nemo
# Date 1315252126 14400
# Node ID 0837a4cac4c7894efecf8a16a84c7587e70f06cd
# Parent  f2caf41f2984a8fd59da43e5129b22e8604b1c3e
Add update preview when picking random static

diff -r f2caf41f2984 -r 0837a4cac4c7 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();
 }