QTfrontend/ui/widget/mapContainer.cpp
changeset 14921 7ced40e21b2c
parent 14836 b9437746bffb
child 15010 5d8068ee16fc
--- a/QTfrontend/ui/widget/mapContainer.cpp	Sun May 12 04:16:40 2019 +0200
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Sun May 12 16:56:28 2019 +0300
@@ -1219,7 +1219,7 @@
             QModelIndexList mdl = m_themeModel->match(m_themeModel->index(0), ThemeModel::ActualNameRole, m_theme);
             if (mdl.size() > 0)
             {
-                if ((mdl.at(0).data(ThemeModel::Roles::IsBackgroundThemeRole).toBool() == true) || (mdl.at(0).data(ThemeModel::Roles::IsHiddenRole).toBool() == true))
+                if ((mdl.at(0).data(ThemeModel::IsBackgroundThemeRole).toBool() == true) || (mdl.at(0).data(ThemeModel::IsHiddenRole).toBool() == true))
                 {
                     selectedTheme = "Nature";
                 }