Commit 4c9724fc authored by Marco Bubke's avatar Marco Bubke

QmlDesigner.NodeInstances: React to removed import

parent 54667668
......@@ -94,6 +94,7 @@ public:
void scriptFunctionsChanged(const ModelNode &node, const QStringList &scriptFunctionList);
void instancePropertyChange(const QList<QPair<ModelNode, QString> > &propertyList);
void importAdded(const Import &import);
void importRemoved(const Import &import);
QList<NodeInstance> instances() const;
NodeInstance instanceForNode(const ModelNode &node) const ;
......
......@@ -430,6 +430,11 @@ void NodeInstanceView::importAdded(const Import &import)
nodeInstanceServer()->addImport(createImportCommand(import));
}
void NodeInstanceView::importRemoved(const Import &/*import*/)
{
restartProcess();
}
//\}
......
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