forked from qt-creator/qt-creator
QmlDesigner.NodeInstances: Restart qmlpuppet for a new import
This commit is contained in:
@@ -443,11 +443,12 @@ void NodeInstanceView::instancesCompleted(const QVector<ModelNode> &/*completedN
|
||||
{
|
||||
}
|
||||
|
||||
void NodeInstanceView::importAdded(const Import & import)
|
||||
void NodeInstanceView::importAdded(const Import & /*import*/)
|
||||
{
|
||||
nodeInstanceServer()->addImport(createImportCommand(import));
|
||||
restartProcess();
|
||||
}
|
||||
|
||||
|
||||
void NodeInstanceView::importRemoved(const Import &/*import*/)
|
||||
{
|
||||
restartProcess();
|
||||
|
||||
Reference in New Issue
Block a user