Commit d19475a9 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: fix updates of anchor states

Ancors work in the property editor, again.

TaskNumber: QTCREATORBUG-3958
parent 680e1367
......@@ -824,6 +824,16 @@ void PropertyEditor::bindingPropertiesChanged(const QList<BindingProperty>& prop
void PropertyEditor::instanceInformationsChange(const QVector<ModelNode> &nodeList)
if (!m_selectedNode.isValid())
if (nodeList.contains(m_selectedNode))
void PropertyEditor::nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId)
QmlModelView::nodeIdChanged(node, newId, oldId);
......@@ -106,6 +106,8 @@ public:
void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange);
void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange);
void instanceInformationsChange(const QVector<ModelNode> &nodeList);
void nodeIdChanged(const ModelNode& node, const QString& newId, const QString& oldId);
void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList);
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