Commit c2f04f3f authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.nodeInstances: changing ordering of notification

This avoids flickering, since parentChanged now
comes after property changed.
parent de96223b
......@@ -776,16 +776,15 @@ void NodeInstanceServer::findItemChangesAndSendChangeCommands()
m_changedPropertyList.clear();
resetAllItems();
if (!parentChangedSet.isEmpty())
sendChildrenChangedCommand(parentChangedSet.toList());
if (!informationChangedInstanceSet.isEmpty())
nodeInstanceClient()->informationChanged(createAllInformationChangedCommand(informationChangedInstanceSet.toList()));
if (!propertyChangedList.isEmpty())
nodeInstanceClient()->valuesChanged(createValuesChangedCommand(propertyChangedList));
if (!parentChangedSet.isEmpty())
sendChildrenChangedCommand(parentChangedSet.toList());
if (!dirtyInstanceSet.isEmpty())
nodeInstanceClient()->pixmapChanged(createPixmapChangedCommand(dirtyInstanceSet.toList()));
......
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