diff options
author | Ali Kianian <ali.kianian@qt.io> | 2024-04-25 15:36:27 +0300 |
---|---|---|
committer | Ali Kianian <ali.kianian@qt.io> | 2024-04-25 12:57:08 +0000 |
commit | fa86d63188a67ca9d41b897904ebbc176d42eafc (patch) | |
tree | 5e15ca66ee325933821a4f8d48f14f74a1a3f131 | |
parent | 3edd18a9da2dbf6ed42f5343734b0a203adfa256 (diff) |
QmlDesigner: Refresh the puppet when DataStore is usable
Change-Id: I42bb69ffab3da7dd49284a1af513ef860f76fbcc
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
-rw-r--r-- | src/plugins/qmldesigner/components/collectioneditor/collectionview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/collectioneditor/collectionview.cpp b/src/plugins/qmldesigner/components/collectioneditor/collectionview.cpp index 0c9a2eed94..151c7aca3e 100644 --- a/src/plugins/qmldesigner/components/collectioneditor/collectionview.cpp +++ b/src/plugins/qmldesigner/components/collectioneditor/collectionview.cpp @@ -365,6 +365,7 @@ void CollectionView::resetDataStoreNode() if (dataStoreSingletonFound) { m_widget->listModel()->setDataStoreNode(dataStore); m_dataStoreTypeFound = true; + resetPuppet(); while (!m_delayedTasks.isEmpty()) m_delayedTasks.takeFirst()->process(); |