Map container: Add question mark in front of missing theme name
authorWuzzy <Wuzzy2@mail.ru>
Mon, 19 Mar 2018 15:44:39 +0100
changeset 13260 7f8f2c77a9cc
parent 13259 1381ce67a781
child 13261 0cfa8f6a4e80
Map container: Add question mark in front of missing theme name
QTfrontend/ui/widget/mapContainer.cpp
--- a/QTfrontend/ui/widget/mapContainer.cpp	Mon Mar 19 15:21:11 2018 +0100
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Mon Mar 19 15:44:39 2018 +0100
@@ -1247,7 +1247,8 @@
     iconMissing.addPixmap(pixMissing, QIcon::Normal);
     iconMissing.addPixmap(pixMissing, QIcon::Disabled);
     btnTheme->setIcon(iconMissing);
-    btnTheme->setText(tr("Theme: %1").arg(name));
+    // Question mark in front of theme name denotes it's missing
+    btnTheme->setText(tr("Theme: %1").arg("?" + name));
     updateThemeButtonSize();
 }