Commit d6a71fbb authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.navigator: imports now update the NavigatorTreeView

parent 40d0e2d9
......@@ -104,6 +104,17 @@ void NavigatorView::modelAboutToBeDetached(Model *model)
AbstractView::modelAboutToBeDetached(model);
}
void NavigatorView::importAdded(const Import &)
{
treeWidget()->update();
}
void NavigatorView::importRemoved(const Import &)
{
treeWidget()->update();
}
void NavigatorView::nodeCreated(const ModelNode & /*createdNode*/)
{
}
......
......@@ -62,6 +62,9 @@ public:
void modelAttached(Model *model);
void modelAboutToBeDetached(Model *model);
void importAdded(const Import &import);
void importRemoved(const Import &import);
void nodeCreated(const ModelNode &createdNode);
void nodeRemoved(const ModelNode &removedNode, const NodeAbstractProperty &parentProperty, PropertyChangeFlags propertyChange);
void propertiesRemoved(const QList<AbstractProperty> &propertyList);
......
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