forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -616,6 +616,7 @@ NodeInstance NodeInstanceView::loadNode(const ModelNode &node, QObject *objectTo
|
||||
|
||||
void NodeInstanceView::activateState(const NodeInstance &instance)
|
||||
{
|
||||
activateBaseState();
|
||||
NodeInstance stateInstance(instance);
|
||||
stateInstance.activateState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user