diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2021-11-17 12:12:57 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-02-03 21:06:26 +0000 |
commit | e25c25453c05915c7cc70c434235a7daa9a27ff3 (patch) | |
tree | 4e78344a61bc6fcb534e25aff8e312ce74f05896 /src/quick/items | |
parent | af72f30b057c867bea2569e968909c7cc23be43e (diff) |
Instantiator: Do not load items when inactive
Instantiator would react to model changes even when inactive, causing
instances to be errorneously created.
We simply skip doing anything when inactive, as setting the Instantiator
to active later will trigger a full regenaration anyway.
Fixes: QTBUG-86453
Fixes: QTBUG-88331
Change-Id: Ia5fd916bbd591d5fc72c550424b1a53a142c2fa8
Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit a1c1ad11ce6f4a415cefc583cfab41336ecf71e3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/quick/items')
0 files changed, 0 insertions, 0 deletions