summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index 338f88525b..1349ba9ad6 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -923,6 +923,8 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional,
923{ 923{
924 if(!conditional) 924 if(!conditional)
925 { 925 {
926 if(QString(element->tag->name) == "Sx")
927 return element->params[0].data.text;
926 return info.device()->data(QString(element->tag->name), 928 return info.device()->data(QString(element->tag->name),
927 element->params_count, element->params); 929 element->params_count, element->params);
928 } 930 }