Commit df695c6a authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Activate move tool only if selected item has no xy binding

Change-Id: I680bf47ad962f0a62d3507132970a3c0c02f2ef8
Reviewed-by: default avatarThomas Hartmann <>
parent 9a3495cb
......@@ -612,8 +612,9 @@ bool FormEditorView::isMoveToolAvailable() const
if (hasSingleSelectedModelNode() && QmlItemNode::isValidQmlItemNode(singleSelectedModelNode())) {
QmlItemNode selectedQmlItemNode(singleSelectedModelNode());
return selectedQmlItemNode.instanceIsMovable() &&
return selectedQmlItemNode.instanceIsMovable()
&& selectedQmlItemNode.modelIsMovable()
&& !selectedQmlItemNode.instanceIsInLayoutable();
return true;
Supports Markdown
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