forked from qt-creator/qt-creator
QmlDesigner: don't synchronizeTransformation for each property
Change-Id: I352937a89d75b80fbfce565856aa9eac292735c4 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
2e020d5007
commit
e279857ce2
@@ -416,7 +416,7 @@ void FormEditorView::instanceInformationsChange(const QMultiHash<ModelNode, Info
|
|||||||
{
|
{
|
||||||
QList<FormEditorItem*> itemNodeList;
|
QList<FormEditorItem*> itemNodeList;
|
||||||
|
|
||||||
foreach (const ModelNode &node, informationChangeHash.keys()) {
|
foreach (const ModelNode &node, informationChangeHash.keys().toSet()) {
|
||||||
QmlItemNode qmlItemNode(node);
|
QmlItemNode qmlItemNode(node);
|
||||||
if (qmlItemNode.isValid() && scene()->hasItemForQmlItemNode(qmlItemNode)) {
|
if (qmlItemNode.isValid() && scene()->hasItemForQmlItemNode(qmlItemNode)) {
|
||||||
scene()->synchronizeTransformation(qmlItemNode);
|
scene()->synchronizeTransformation(qmlItemNode);
|
||||||
|
Reference in New Issue
Block a user