Commit 6cf4b5ca authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Items should be only selected if the have no xy binding



In the rubber band selector.

Change-Id: I132681870bc5ff75c43c0874bee9b7a76362e35e
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent df695c6a
......@@ -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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment