From 6cf4b5caad5d68f7921177610c96f47190cb208f Mon Sep 17 00:00:00 2001 From: Marco Bubke <marco.bubke@digia.com> Date: Wed, 4 Sep 2013 13:11:54 +0200 Subject: [PATCH] QmlDesigner: Items should be only selected if the have no xy binding In the rubber band selector. Change-Id: I132681870bc5ff75c43c0874bee9b7a76362e35e Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com> --- .../components/formeditor/rubberbandselectionmanipulator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/qmldesigner/components/formeditor/rubberbandselectionmanipulator.cpp b/src/plugins/qmldesigner/components/formeditor/rubberbandselectionmanipulator.cpp index c6a3b4ba145..727da8ef845 100644 --- a/src/plugins/qmldesigner/components/formeditor/rubberbandselectionmanipulator.cpp +++ b/src/plugins/qmldesigner/components/formeditor/rubberbandselectionmanipulator.cpp @@ -103,6 +103,7 @@ void RubberBandSelectionManipulator::select(SelectionType selectionType) && formEditorItem->qmlItemNode().isValid() && m_beginFormEditorItem->childItems().contains(formEditorItem) && formEditorItem->qmlItemNode().instanceIsMovable() + && formEditorItem->qmlItemNode().modelIsMovable() && !formEditorItem->qmlItemNode().instanceIsInLayoutable()) { newNodeList.append(formEditorItem->qmlItemNode()); @@ -112,6 +113,7 @@ void RubberBandSelectionManipulator::select(SelectionType selectionType) if (newNodeList.isEmpty() && m_beginFormEditorItem->qmlItemNode().isValid() && m_beginFormEditorItem->qmlItemNode().instanceIsMovable() + && m_beginFormEditorItem->qmlItemNode().modelIsMovable() && !m_beginFormEditorItem->qmlItemNode().instanceIsInLayoutable()) newNodeList.append(m_beginFormEditorItem->qmlItemNode()); -- GitLab