Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

QML ListView currentItem doesn't change after a sort

$
0
0
Really what this comes down to is this: if the ListView knew when an item was moved (e.g. sorted), I could run a function to loop through its children and make sure the right item (the models have IDs associated with them) is selected. Unfortunately, according to http://lists.qt.nokia.com/public/qt-qml/2010-September/001149.html , it seems ListViews have no way of knowing when something is moved. Does that sound accurate? This seems like a HUGE limitation if true.

Viewing all articles
Browse latest Browse all 4972

Trending Articles