Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
None
-
5.6.0, 5.9.0 Beta 3
-
Fedora 23, x64
Description
I am trying to add ListElement into ListModel connected to TableView and select that new item in TableView using selection.select().
myModel.append({"name": "this is new item"}); myTableView.selection.clear(); var selectIndex = myModel.count-1 myTableView.selection.select(selectIndex)
It tells me following error message:
qml: TableViewSelection: index out of range
For more details please look into attached example.
Attachments
For Gerrit Dashboard: QTBUG-53027 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
194614,1 | Workaround delayed rowCount property for selection | 5.9 | qt/qtquickcontrols | Status: ABANDONED | -1 | 0 |