diff --git a/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp b/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
index 65a0e1f83c5629795512cc549f50264f04553d39..528d422a659801321ba1971de008253223c82510 100644
--- a/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
+++ b/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
@@ -437,7 +437,7 @@ void NodeInstanceView::instancesCompleted(const QVector<ModelNode> &/*completedN
 
 void NodeInstanceView::importAdded(const Import &import)
 {
-    nodeInstanceServer()->addImport(createImportCommand(import));
+    restartProcess();
 }
 
 void NodeInstanceView::importRemoved(const Import &/*import*/)