Commit d1b940e4 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.PropertyEditor: also check for HasAnchor

Fixes a bug in conjunction with ApplicationWindow.
Anchors did not update properly.

Change-Id: I95ba118c8dde7e01117f649f2ff974f2c6ee6244
Reviewed-by: default avatarMarco Bubke <marco.bubke@digia.com>
parent 270e0e8d
......@@ -929,7 +929,8 @@ void PropertyEditor::instanceInformationsChange(const QMultiHash<ModelNode, Info
m_locked = true;
QList<InformationName> informationNameList = informationChangeHash.values(m_selectedNode);
if (informationNameList.contains(Anchor))
if (informationNameList.contains(Anchor)
|| informationNameList.contains(HasAnchor))
m_currentType->m_backendAnchorBinding.setup(QmlItemNode(m_selectedNode));
m_locked = false;
}
......
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