Changing model after componentComplete should reset currentIndex
authorMartin Jones <martin.jones@nokia.com>
Mon, 23 Jul 2012 03:19:04 +0000 (13:19 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 23 Jul 2012 04:38:28 +0000 (06:38 +0200)
commit22c68738bf2a83eb228b412fbd251bcdf8e7056e
tree14f0c0efa6a7134a1f98c49f53ce813cf10f2346
parent2a4bb9608498876c3c2229eef91b8723a7fd8e47
Changing model after componentComplete should reset currentIndex

When the model is changed reset currentIndex back to 0.

Task-number: QTBUG-26604
Change-Id: I1934e083819537d416acd85c75362daff382aa04
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/quick/doc/src/whatsnew.qdoc
src/quick/items/qquickitemview.cpp
tests/auto/quick/qquickgridview/tst_qquickgridview.cpp
tests/auto/quick/qquicklistview/tst_qquicklistview.cpp