summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/models')
-rw-r--r--utils/themeeditor/models/parsetreenode.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp
index 08ce703859..3a894a1678 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -518,7 +518,13 @@ void ParseTreeNode::render(const RBRenderInfo &info, RBViewport* viewport,
518 { 518 {
519 for(int i = 0; i < children.count(); i++) 519 for(int i = 0; i < children.count(); i++)
520 children[i]->render(info, viewport); 520 children[i]->render(info, viewport);
521 if(!noBreak) 521 /* TODO
522 * The second element of this if is a temporary hack to allow Vf and Vb
523 * tags in a viewport without forcing the first line of text down. A
524 * proper solution to this problem needs to be worked out in the parser
525 * as soon as possible
526 */
527 if(!noBreak && element->line != viewport->declarationLine())
522 viewport->newLine(); 528 viewport->newLine();
523 } 529 }
524 else if(element->type == TEXT) 530 else if(element->type == TEXT)