On Mon, Dec 9, 2013 at 4:12 AM, Ola Røer Thorsen <[email protected]> wrote:
> Hi all,
>
> I have a ListView showing a c++ model that changes runtime. Items are added
> and deleted.
>
> When an item is added, how do I set the ListView's current index to the new
> item?

Have you tried connecting to the onAdd() signal and then calling
positionViewAtIndex?

http://doc-snapshot.qt-project.org/qdoc/qml-qtquick-listview.html#positionViewAtIndex-method


Preet
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to