Commit 139f5645 authored by Marco Bubke's avatar Marco Bubke

QmlDesigner.NodeInstances: Fix node updating

Change-Id: I2aebcaf618251b85764712be7dd5dc3c863c3ba9
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 9c872643
......@@ -90,6 +90,7 @@ void Qt5RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands()
if (ancestorInstance.isValid())
m_dirtyInstanceSet.insert(ancestorInstance);
}
DesignerSupport::updateDirtyNode(item);
}
}
......@@ -100,8 +101,6 @@ void Qt5RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands()
m_dirtyInstanceSet.clear();
}
resetAllItems();
slowDownRenderTimer();
nodeInstanceClient()->flush();
nodeInstanceClient()->synchronizeWithClientProcess();
......
......@@ -341,6 +341,8 @@ void QuickItemNodeInstance::setPropertyVariant(const QString &name, const QVaria
ObjectNodeInstance::setPropertyVariant(name, value);
quickItem()->update();
refresh();
if (isInPositioner())
......@@ -354,6 +356,8 @@ void QuickItemNodeInstance::setPropertyBinding(const QString &name, const QStrin
ObjectNodeInstance::setPropertyBinding(name, expression);
quickItem()->update();
refresh();
if (isInPositioner())
......@@ -476,6 +480,8 @@ void QuickItemNodeInstance::resetProperty(const QString &name)
ObjectNodeInstance::resetProperty(name);
quickItem()->update();
if (isInPositioner())
parentInstance()->refreshPositioner();
}
......
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