QTfrontend/ui/widget/gamecfgwidget.cpp
changeset 9771 6fb8dafe57f7
parent 9489 0818d14e90be
child 9902 eb8e8b09b2f0
--- a/QTfrontend/ui/widget/gamecfgwidget.cpp	Mon Dec 09 23:32:57 2013 +0400
+++ b/QTfrontend/ui/widget/gamecfgwidget.cpp	Tue Dec 10 00:00:08 2013 +0400
@@ -390,7 +390,10 @@
 
     seedChanged(pMapContainer->getCurrentSeed());
     templateFilterChanged(pMapContainer->getTemplateFilter());
-    themeChanged(pMapContainer->getCurrentTheme());
+
+    QString t = pMapContainer->getCurrentTheme();
+    if(!t.isEmpty())
+        themeChanged(t);
 
     schemeChanged(GameSchemes->currentIndex());
     scriptChanged(Scripts->currentIndex());