summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-03-03 23:53:28 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-03-03 23:53:28 (GMT)
commit89a478c8c747b2f572deb88d028715e88c16853e (patch)
tree3eac9e5f6286b22481e6c0f2b75fda100bfe899b /examples
parent8fdd8a85a48f778de0295ff0b409860f85b7af20 (diff)
downloadQt-89a478c8c747b2f572deb88d028715e88c16853e.zip
Qt-89a478c8c747b2f572deb88d028715e88c16853e.tar.gz
Qt-89a478c8c747b2f572deb88d028715e88c16853e.tar.bz2
Make sure currentIndex is updated when view is flicked.
Task-number: QTBUG-8396
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/parallax/qml/ParallaxView.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/declarative/parallax/qml/ParallaxView.qml b/examples/declarative/parallax/qml/ParallaxView.qml
index 5e58100..08193ae 100644
--- a/examples/declarative/parallax/qml/ParallaxView.qml
+++ b/examples/declarative/parallax/qml/ParallaxView.qml
@@ -25,6 +25,7 @@ Item {
anchors.fill: parent
model: VisualItemModel { id: visualModel }
+ highlightRangeMode: ListView.StrictlyEnforceRange
snapMode: ListView.SnapOneItem
}