forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user