summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/themeeditor/graphics/rbviewport.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbviewport.cpp b/utils/themeeditor/graphics/rbviewport.cpp
index 3b97e7143d..2c6fb9d7c3 100644
--- a/utils/themeeditor/graphics/rbviewport.cpp
+++ b/utils/themeeditor/graphics/rbviewport.cpp
@@ -56,6 +56,10 @@ RBViewport::RBViewport(skin_element* node, const RBRenderInfo& info,
customUI = false;
font = screen->getFont(1);
+ /* Making sure the default viewport can't be graphically manipulated */
+ setFlag(ItemIsSelectable, false);
+ setFlag(ItemIsMovable, false);
+
if(info.model()->rowCount(QModelIndex()) > 1)
{
/* If there is more than one viewport in the document */