forked from qt-creator/qt-creator
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:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user