aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <Thomas.Hartmann@digia.com>2013-05-21 16:15:33 +0200
committerThomas Hartmann <Thomas.Hartmann@digia.com>2013-05-21 17:19:28 +0200
commitd1b940e41527a6387475d70ced25c7f5677b2a9f (patch)
treec98ba4745aa98abc389c5dc36293bbaeda727f29
parent270e0e8d8474e18a33814b59b8ed710d2a5b6106 (diff)
QmlDesigner.PropertyEditor: also check for HasAnchor
Fixes a bug in conjunction with ApplicationWindow. Anchors did not update properly. Change-Id: I95ba118c8dde7e01117f649f2ff974f2c6ee6244 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
index d4329cc674..1b45416fe1 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
@@ -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;
}