Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
5.2.1
-
None
-
Ubuntu 13.04 32bits, Qt 5.2.1. Reproduced on Windows 7 64bits too.
OSX
5.0.2, 5.3.0
Description
When the currentIndex property of a ListView is modified from the onRowsInserted callback of the corresponding model, the resulting value of currentIndex is incorrect.
See attached file for a simple reproduceable example. Just double-click to insert an element in the model dynamically, and see the currentIndex value of the ListView become wrong.
Attachments
Issue Links
- relates to
-
QTBUG-93293 QML: Initial setting of ListView currentIndex is ignored with dynamic model generation
- Closed