Commit 468ad536 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Go back to base state if a instance is removed

Sometimes the informations are not updated if a property change is removed
in a state.
parent d27430f5
......@@ -219,10 +219,16 @@ void NodeInstanceServer::clearScene(const ClearSceneCommand &/*command*/)
void NodeInstanceServer::removeInstances(const RemoveInstancesCommand &command)
if (activeStateInstance().isValid())
foreach(qint32 instanceId, command.instanceIds()) {
if (activeStateInstance().isValid())
Supports Markdown
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