Commit c2f04f3f authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

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() ...@@ -776,16 +776,15 @@ void NodeInstanceServer::findItemChangesAndSendChangeCommands()
m_changedPropertyList.clear(); m_changedPropertyList.clear();
resetAllItems(); resetAllItems();
if (!parentChangedSet.isEmpty())
sendChildrenChangedCommand(parentChangedSet.toList());
if (!informationChangedInstanceSet.isEmpty()) if (!informationChangedInstanceSet.isEmpty())
nodeInstanceClient()->informationChanged(createAllInformationChangedCommand(informationChangedInstanceSet.toList())); nodeInstanceClient()->informationChanged(createAllInformationChangedCommand(informationChangedInstanceSet.toList()));
if (!propertyChangedList.isEmpty()) if (!propertyChangedList.isEmpty())
nodeInstanceClient()->valuesChanged(createValuesChangedCommand(propertyChangedList)); nodeInstanceClient()->valuesChanged(createValuesChangedCommand(propertyChangedList));
if (!parentChangedSet.isEmpty())
sendChildrenChangedCommand(parentChangedSet.toList());
if (!dirtyInstanceSet.isEmpty()) if (!dirtyInstanceSet.isEmpty())
nodeInstanceClient()->pixmapChanged(createPixmapChangedCommand(dirtyInstanceSet.toList())); nodeInstanceClient()->pixmapChanged(createPixmapChangedCommand(dirtyInstanceSet.toList()));
......
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