summaryrefslogtreecommitdiff
path: root/utils/themeeditor/models/parsetreemodel.cpp
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-08-06 07:53:19 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-08-06 07:53:19 +0000
commit92882f2a25e10095fb21ac0ef036e08d810b8754 (patch)
treebc34bb701d65179ae2627fa97278f322390d5ce2 /utils/themeeditor/models/parsetreemodel.cpp
parentd505bc01195ddc4ca6e57efe42b97f1ce49d6afd (diff)
downloadrockbox-92882f2a25e10095fb21ac0ef036e08d810b8754.tar.gz
rockbox-92882f2a25e10095fb21ac0ef036e08d810b8754.zip
Theme Editor: Made progress bar display correctly when resized, fixed some segfaults caused by editing SBS elements from a WPS document and then turning SBS rendering off
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27735 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/models/parsetreemodel.cpp')
-rw-r--r--utils/themeeditor/models/parsetreemodel.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreemodel.cpp b/utils/themeeditor/models/parsetreemodel.cpp
index ed5f5740c3..2186788fd6 100644
--- a/utils/themeeditor/models/parsetreemodel.cpp
+++ b/utils/themeeditor/models/parsetreemodel.cpp
@@ -368,6 +368,15 @@ QGraphicsScene* ParseTreeModel::render(ProjectModel* project,
368 if(root) 368 if(root)
369 root->render(info); 369 root->render(info);
370 370
371// /* Making sure the Custom UI Viewport can't be selected */
372// if(sbsScreen)
373// {
374// sbsScreen->getCustomUI()->setFlag(QGraphicsItem::ItemIsSelectable,
375// false);
376// sbsScreen->getCustomUI()->setFlag(QGraphicsItem::ItemIsMovable,
377// false);
378// }
379//
371 return scene; 380 return scene;
372} 381}
373 382