--- a/QTfrontend/ui/widget/mapContainer.cpp Tue Dec 03 23:54:58 2013 +0400
+++ b/QTfrontend/ui/widget/mapContainer.cpp Wed Dec 04 00:19:42 2013 +0400
@@ -252,7 +252,6 @@
staticMapChanged(m_staticMapModel->index(0, 0));
missionMapChanged(m_missionMapModel->index(0, 0));
changeMapType(MapModel::GeneratedMap);
- setRandomTheme();
}
void HWMapContainer::setImage(const QImage newImage)
@@ -603,6 +602,7 @@
{
if (!m_previewEnabled) {
m_previewEnabled = true;
+ setRandomTheme();
updatePreview();
}
QWidget::showEvent(event);