Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.2
-
None
-
Windows 7 home p., QT 4.7.2
-
6ec7695eaa02c923b90d72e3918b9ab50da63e41
Description
Rolse are not removed using listmodel::clear().
If roles are created using a js-array with different members and added after listModel::clear() roles are still the same.
Sample js-array.
1.
2.
{ text: "My other text" }If a repeater model is using set using model: ListModel
{id: listModel}with the js-array 1 and later are clear and set with js-array 2. QML will crash with index of bounds.