From 73c912a458df8cbdf5d1049e065def4f8fb378f0 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 21 Sep 2022 11:26:53 +0200 Subject: [PATCH] QmlDesigner: Do not reset load if count changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Reviewed-by: Henning Gründl --- .../imports/HelperWidgets/DynamicPropertiesSection.qml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/DynamicPropertiesSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/DynamicPropertiesSection.qml index 2a0580edf14..fedf76bdbbe 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/DynamicPropertiesSection.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/DynamicPropertiesSection.qml @@ -480,10 +480,6 @@ Section { model: root.propertiesModel property bool loadActive: true - onCountChanged: { - repeater.loadActive = false - repeater.loadActive = true - } SectionLayout { DynamicPropertyRow {