diff --git a/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp b/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
index 975496f5a0045f45bad608509f9e10a9795c22e5..aa375a34ce21e84cc5e94acf7a7769f1b8266e7a 100644
--- a/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
+++ b/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
@@ -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();