diff options
Diffstat (limited to 'utils/themeeditor/models/parsetreenode.cpp')
-rw-r--r-- | utils/themeeditor/models/parsetreenode.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp index e5eb9df9b3..3ccf6c0063 100644 --- a/utils/themeeditor/models/parsetreenode.cpp +++ b/utils/themeeditor/models/parsetreenode.cpp | |||
@@ -873,7 +873,8 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional, | |||
873 | { | 873 | { |
874 | if(!conditional) | 874 | if(!conditional) |
875 | { | 875 | { |
876 | return info.device()->data(QString(element->tag->name)); | 876 | return info.device()->data(QString(element->tag->name), |
877 | element->params_count, element->params); | ||
877 | } | 878 | } |
878 | else | 879 | else |
879 | { | 880 | { |
@@ -886,7 +887,8 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional, | |||
886 | int child; | 887 | int child; |
887 | QVariant val = info.device()->data("?" + QString(element->tag->name)); | 888 | QVariant val = info.device()->data("?" + QString(element->tag->name)); |
888 | if(val.isNull()) | 889 | if(val.isNull()) |
889 | val = info.device()->data(QString(element->tag->name)); | 890 | val = info.device()->data(QString(element->tag->name), |
891 | element->params_count, element->params); | ||
890 | 892 | ||
891 | if(val.isNull()) | 893 | if(val.isNull()) |
892 | { | 894 | { |