diff --git a/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.cpp b/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.cpp index c8548eeb1ca..4a08d9d6ddc 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/qmlanchorbindingproxy.cpp @@ -297,7 +297,7 @@ bool QmlAnchorBindingProxy::hasParent() const bool QmlAnchorBindingProxy::isInLayout() const { - return false; + return m_qmlItemNode.isInLayout(); } bool QmlAnchorBindingProxy::isFilled() const