Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.2, 5.15.3, 6.1.0
-
f2a15482ddd289a36b04316a2b6ebed83eb017c5 (qt/qtdeclarative/dev)
Description
When defining a list in a component definition then creating an instance of that component and redefining the list, instead of redefining and overwriting the list, elements end up appended to the list.
If a new list is created and assigned to the list variable it works as intended.
See attached file for reproducing the error.