summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/models/parsetreemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/models/parsetreemodel.cpp')
-rw-r--r--utils/themeeditor/models/parsetreemodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreemodel.cpp b/utils/themeeditor/models/parsetreemodel.cpp
index a7f46acd5f..e456797a4d 100644
--- a/utils/themeeditor/models/parsetreemodel.cpp
+++ b/utils/themeeditor/models/parsetreemodel.cpp
@@ -358,6 +358,8 @@ RBScene* ParseTreeModel::render(ProjectModel* project,
scene->addItem(screen);
}
+ scene->setScreenSize(screen->boundingRect());
+
info = RBRenderInfo(this, project, doc, &settings, device, screen);