summaryrefslogtreecommitdiff
path: root/utils/themeeditor
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor')
-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 ae83f1aadf..0a500bfbf2 100644
--- a/utils/themeeditor/models/parsetreenode.cpp
+++ b/utils/themeeditor/models/parsetreenode.cpp
@@ -210,6 +210,8 @@ QString ParseTreeNode::genCode() const
}
buffer.append(ARGLISTCLOSESYM);
}
+ if(element->tag->params[strlen(element->tag->params) - 1] == '\n')
+ buffer.append('\n');
break;
case TEXT: