QTfrontend/model/ThemeModel.cpp
changeset 15066 d75ce53d811e
parent 14828 8ed0c3761640
--- a/QTfrontend/model/ThemeModel.cpp	Mon May 27 00:04:40 2019 +0200
+++ b/QTfrontend/model/ThemeModel.cpp	Mon May 27 16:43:42 2019 +0200
@@ -161,7 +161,8 @@
         // since they cannot be used for generated maps, but they can be used
         // for image maps.
         QString landtexpath = QString("physfs://Themes/%1/LandTex.png").arg(theme);
-        if (!QFile::exists(landtexpath))
+        QString bordertexpath = QString("physfs://Themes/%1/Border.png").arg(theme);
+        if ((!QFile::exists(landtexpath)) || (!QFile::exists(bordertexpath)))
         {
             dataset.insert(IsBackgroundThemeRole, true);
         }