Commit 46c083c2 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Don't set anchors for the root item

Task-number: QTCREATORBUG-11800
Change-Id: I6d23b23f250ccef76c7b9182071770a4f4f490f7
Reviewed-by: default avatarThomas Hartmann <>
parent 0e3634d3
......@@ -372,6 +372,9 @@ void GraphicalNodeInstance::setPropertyBinding(const PropertyName &name, const Q
if (name == "state")
return; // states are only set by us
if (name.startsWith("anchors.") && isRootNodeInstance())
ObjectNodeInstance::setPropertyBinding(name, expression);
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