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.