QTfrontend/ui/widget/mapContainer.cpp
changeset 13248 b0022324fb4e
parent 13246 0c98d3b249f7
child 13249 d2b58cf339fe
--- a/QTfrontend/ui/widget/mapContainer.cpp	Sun Mar 18 14:38:48 2018 +0100
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Sun Mar 18 15:24:54 2018 +0100
@@ -599,9 +599,9 @@
     QAbstractItemModel * tmodel;
 
     if (m_withoutDLC)
-        tmodel = m_themeModel->withoutDLC();
+        tmodel = m_themeModel->withoutDLCOrHidden();
     else
-        tmodel = m_themeModel;
+        tmodel = m_themeModel->withoutHidden();
 
     if(!tmodel->rowCount()) return;
     quint32 themeNum = rand() % tmodel->rowCount();