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);