QmlDesigner: Do not reset load if count changes

This is not required to leads to a quadratic slow-down if there
are many properties.
There is still a slight lag if there are more than 20 properties,
but QDS stays fully usable.

Change-Id: Ife14e97d127b16a1ae59e97a8fa642f5a2479e53
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2022-09-21 11:26:53 +02:00
parent 52efe45354
commit 73c912a458

View File

@@ -480,10 +480,6 @@ Section {
model: root.propertiesModel model: root.propertiesModel
property bool loadActive: true property bool loadActive: true
onCountChanged: {
repeater.loadActive = false
repeater.loadActive = true
}
SectionLayout { SectionLayout {
DynamicPropertyRow { DynamicPropertyRow {