From e279857ce2f07560f5093b6963172e742e91fbd5 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Mon, 11 Apr 2016 13:18:31 +0200 Subject: [PATCH] QmlDesigner: don't synchronizeTransformation for each property Change-Id: I352937a89d75b80fbfce565856aa9eac292735c4 Reviewed-by: Thomas Hartmann --- .../qmldesigner/components/formeditor/formeditorview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/components/formeditor/formeditorview.cpp b/src/plugins/qmldesigner/components/formeditor/formeditorview.cpp index 8ffd1da11eb..664be17399d 100644 --- a/src/plugins/qmldesigner/components/formeditor/formeditorview.cpp +++ b/src/plugins/qmldesigner/components/formeditor/formeditorview.cpp @@ -416,7 +416,7 @@ void FormEditorView::instanceInformationsChange(const QMultiHash 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);