Skip to content
Snippets Groups Projects
Commit fa640f66 authored by Marco Bubke's avatar Marco Bubke Committed by Kai Koehne
Browse files

Go always back to the base state if you change the state

Should work without this, but the performance hit is not so high,
and this is more robust to changes in the qml state code.

Task-Number: BAUHAUS-660
Reviewed-by: kkoehne
parent 1a114248
No related branches found
No related tags found
No related merge requests found
......@@ -616,6 +616,7 @@ NodeInstance NodeInstanceView::loadNode(const ModelNode &node, QObject *objectTo
void NodeInstanceView::activateState(const NodeInstance &instance)
{
activateBaseState();
NodeInstance stateInstance(instance);
stateInstance.activateState();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment