currentIndex should work if your listView ID is correct!? weird
but I guess you need that inside of the delegate of the ListView? then you should use the attached property isCurrentItem [qt-project.org] anyways.
Also you can use listView.incrementCurrentIndex() [qt-project.org] instead of “listView.currentIndex = currentIndex + 1”. :)
↧