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, { if(!conditional) { + if(element->tag->name[0] == 'c' && !info.device()->data("cc").toBool()) + return QString(); + if(QString(element->tag->name) == "Sx") return element->params[0].data.text; return info.device()->data(QString(element->tag->name),