Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
5.6.2, 5.7.1, 5.8
-
None
Description
When starting with an empty ListModel, it obviously has no roles. When you add a first element to the model, its roles are generated from the first element. However there are no signals emitted to indicates this role change. I'm not sure if it's a bug but I assumed it would emit a modelReset signal.
For a filter proxy model connected to this ListModel, this is bothersome since it can't change its own roleNames.
Attachments
Issue Links
- relates to
-
QTBUG-129974 ListView add 2x more items when Model.roleNames is updated between beginResetModel and endResetModel
-
- Closed
-