diff options
Diffstat (limited to 'utils/themeeditor/models')
| -rw-r--r-- | utils/themeeditor/models/parsetreenode.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp index c7df4a4..0888bc4 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), |