Changing PathView offset doesn't set currentIndex appropriately
authorMartin Jones <martin.jones@nokia.com>
Wed, 27 Jun 2012 04:05:38 +0000 (14:05 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 27 Jun 2012 06:49:46 +0000 (08:49 +0200)
commit7722786a1305d9fdd4e0e8856322352c806de25c
tree99b9c3097b5e143112d7fb454ea1f3cc6b06b75c
parent9b527b0122abc68368574063af2175852cdcb328
Changing PathView offset doesn't set currentIndex appropriately

If the highlightRangeMode is StrictlyEnforceRange then the
currentIndex should always be updated when the path offset changes.

Task-number: QTBUG-19835
Change-Id: I2371e5abd430e770bbb8f9f9d5f4e1d17e0d8ff5
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
src/quick/items/qquickpathview.cpp
tests/auto/quick/qquickpathview/tst_qquickpathview.cpp