Commit fc69d850 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Restart qmlpuppet for root node change

parent 3f0a4446
......@@ -314,10 +314,7 @@ void NodeInstanceView::removeInstanceAndSubInstances(const ModelNode &node)
void NodeInstanceView::rootNodeTypeChanged(const QString &/*type*/, int /*majorVersion*/, int /*minorVersion*/)
{
nodeInstanceServer()->clearScene(createClearSceneCommand());
removeAllInstanceNodeRelationships();
nodeInstanceServer()->createScene(createCreateSceneCommand());
restartProcess();
}
void NodeInstanceView::bindingPropertiesChanged(const QList<BindingProperty>& propertyList, PropertyChangeFlags /*propertyChange*/)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment