aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2020-09-01 17:49:19 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2020-09-01 15:49:59 +0000
commitca88afbe315fb6e6a105d19c2cce93f9269595be (patch)
tree4ab2c3a648f281c01b1f5f4fe5c53c4f9bd7c174
parent1b19ae28dba5ab1d862c45ba50620dd05af799bc (diff)
QmlDesigner: Update complete scene
This removes painting artefacts, since the bounding rectangle also gets smaller when updated. Change-Id: Ic184cadbd1dbda1952012b749eadfde0da57ef7f Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--src/plugins/qmldesigner/components/formeditor/formeditorview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/formeditor/formeditorview.cpp b/src/plugins/qmldesigner/components/formeditor/formeditorview.cpp
index 1a9f165483..1ba8fcd2be 100644
--- a/src/plugins/qmldesigner/components/formeditor/formeditorview.cpp
+++ b/src/plugins/qmldesigner/components/formeditor/formeditorview.cpp
@@ -702,6 +702,8 @@ void FormEditorView::instanceInformationsChanged(const QMultiHash<ModelNode, Inf
}
}
+ scene()->update();
+
m_currentTool->formEditorItemsChanged(changedItems);
}