diff options
author | Martin Jones <martin.jones@nokia.com> | 2012-07-23 13:19:04 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-23 06:38:28 +0200 |
commit | 22c68738bf2a83eb228b412fbd251bcdf8e7056e (patch) | |
tree | 14f0c0efa6a7134a1f98c49f53ce813cf10f2346 /src/quick/doc/src/whatsnew.qdoc | |
parent | 2a4bb9608498876c3c2229eef91b8723a7fd8e47 (diff) |
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>
Diffstat (limited to 'src/quick/doc/src/whatsnew.qdoc')
-rw-r--r-- | src/quick/doc/src/whatsnew.qdoc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/doc/src/whatsnew.qdoc b/src/quick/doc/src/whatsnew.qdoc index 954506c358..8eff21e387 100644 --- a/src/quick/doc/src/whatsnew.qdoc +++ b/src/quick/doc/src/whatsnew.qdoc @@ -299,6 +299,7 @@ the window loses focus. \li Delegates in the cache buffer are now created asynchronously. \li Setting a \c RightToLeft layout now also reverses the \c preferredHighlightBegin and \c preferredHighlightEnd. + \li If the model is changed after the component is completed, currentIndex is reset to 0. \endlist \li ListView only: \list |