QmlDesigner.Instance: Change messaging order

This commit is contained in:
Marco Bubke
2010-11-24 17:54:53 +01:00
parent 193f418525
commit 70d6fda396

View File

@@ -601,16 +601,16 @@ void NodeInstanceView::setBlockUpdates(bool block)
if (m_blockUpdates == 0) {
m_nodeInstanceServer->setBlockUpdates(false);
if (!m_valuePropertyChangeList.isEmpty()) {
emitInstancePropertyChange(m_valuePropertyChangeList);
m_valuePropertyChangeList.clear();
}
if (!m_informationChangeSet.isEmpty()) {
emitCustomNotification("__instance information changed__", m_informationChangeSet.toList());
m_informationChangeSet.clear();
}
if (!m_valuePropertyChangeList.isEmpty()) {
emitInstancePropertyChange(m_valuePropertyChangeList);
m_valuePropertyChangeList.clear();
}
if (!m_renderImageChangeSet.isEmpty()) {
emitCustomNotification("__instance render pixmap changed__", m_renderImageChangeSet.toList());
m_renderImageChangeSet.clear();