summaryrefslogtreecommitdiff
path: root/utils/themeeditor/skindocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/skindocument.h')
-rw-r--r--utils/themeeditor/skindocument.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/themeeditor/skindocument.h b/utils/themeeditor/skindocument.h
index d00c81f..f222543 100644
--- a/utils/themeeditor/skindocument.h
+++ b/utils/themeeditor/skindocument.h
@@ -41,6 +41,7 @@ public:
ParseTreeModel* getModel(){ return model; }
QString getTitle(){ return title; }
+ void genCode(){ editor->document()->setPlainText(model->genCode()); }
void save();
void saveAs();