Skip to content
Snippets Groups Projects
Commit d6a71fbb authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.navigator: imports now update the NavigatorTreeView

parent 40d0e2d9
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment