Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.3.0
-
None
Description
When ListModel is used with a WorkerScript, these signals are emitted after the actual changed:
- QAbstractItemModel::rowsAboutToBeInserted()
- QAbstractItemModel::rowsAboutToBeMoved()
- QAbstractItemModel::rowsAboutToBeRemoved()
They must be emitted before the change instead. QQmlListModelWorkerAgent must first call beginInsert/Move/RemoveRows(), then sync(), and finally call endInsert/Move/RemoveRows().
Attachments
Issue Links
- relates to
-
QTBUG-39279 ListModel : rowsAboutToBeRemoved is emitted after the row's removal
-
- Closed
-