summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index c7df4a4edb..0888bc47e9 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -935,6 +935,9 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
935{ 935{
936 if(!conditional) 936 if(!conditional)
937 { 937 {
938 if(element->tag->name[0] == 'c' && !info.device()->data("cc").toBool())
939 return QString();
940
938 if(QString(element->tag->name) == "Sx") 941 if(QString(element->tag->name) == "Sx")
939 return element->params[0].data.text; 942 return element->params[0].data.text;
940 return info.device()->data(QString(element->tag->name), 943 return info.device()->data(QString(element->tag->name),