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

QmlDesigner.propertyEditor: listen to propertyRemoved instead of propertiesAboutToBeRemoved

parent 03fc2f19
......@@ -699,9 +699,9 @@ void PropertyEditor::modelAboutToBeDetached(Model *model)
}
void PropertyEditor::propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList)
void PropertyEditor::propertiesRemoved(const QList<AbstractProperty>& propertyList)
{
QmlModelView::propertiesAboutToBeRemoved(propertyList);
QmlModelView::propertiesRemoved(propertyList);
if (!m_selectedNode.isValid())
return;
......
......@@ -81,7 +81,7 @@ public:
void nodeAboutToBeRemoved(const ModelNode &removedNode);
void propertiesAdded(const NodeState &state, const QList<NodeProperty>& propertyList);
void propertiesAboutToBeRemoved(const NodeState &state, const QList<NodeProperty>& propertyList);
void propertiesRemoved(const QList<AbstractProperty>& propertyList);
void propertyValuesChanged(const NodeState &state, const QList<NodeProperty>& propertyList);
void modelAttached(Model *model);
......@@ -90,10 +90,6 @@ public:
ModelState modelState() const;
void propertiesAboutToBeRemoved(const QList<AbstractProperty>& propertyList);
void variantPropertiesChanged(const QList<VariantProperty>& propertyList, PropertyChangeFlags propertyChange);
void bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags propertyChange);
......
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