QmlDesigner: don't synchronizeTransformation for each property

Change-Id: I352937a89d75b80fbfce565856aa9eac292735c4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
Tim Jenssen
2016-04-11 13:18:31 +02:00
committed by Thomas Hartmann
parent 2e020d5007
commit e279857ce2

View File

@@ -416,7 +416,7 @@ void FormEditorView::instanceInformationsChange(const QMultiHash<ModelNode, Info
{
QList<FormEditorItem*> itemNodeList;
foreach (const ModelNode &node, informationChangeHash.keys()) {
foreach (const ModelNode &node, informationChangeHash.keys().toSet()) {
QmlItemNode qmlItemNode(node);
if (qmlItemNode.isValid() && scene()->hasItemForQmlItemNode(qmlItemNode)) {
scene()->synchronizeTransformation(qmlItemNode);