aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2021-10-05 17:01:43 +0300
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2021-10-07 08:28:34 +0000
commit2a96c396f9d8def08fbb82bb767a832f876a82e0 (patch)
tree757cd07b19587a8ca29a5bfb6cf7edc7dfc8c8f9
parent1e765e59638b45bb5365f695e747f339d9be156a (diff)
QmlDesigner: Notify other views of nodeSource triggered puppet reset
Use resetPuppet() instead of delayedRestartProcess() to properly notify other views of the impending reset. Fixes: QDS-5222 Change-Id: I46dc0dfc9f0b675bd2a0fc07c6b7d9cde4d1e48a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp b/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
index 6ecde66a30..078a74a534 100644
--- a/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
+++ b/src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
@@ -644,7 +644,7 @@ void NodeInstanceView::nodeSourceChanged(const ModelNode &node, const QString &
m_nodeInstanceServer->changeNodeSource(changeNodeSourceCommand);
// Puppet doesn't deal with node source changes properly, so just reset the puppet for now
- delayedRestartProcess(); // TODO: Remove this once the issue is properly fixed (QDS-4955)
+ resetPuppet(); // TODO: Remove this once the issue is properly fixed (QDS-4955)
}
}