diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-03-03 23:53:28 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-03-03 23:53:28 (GMT) |
commit | 89a478c8c747b2f572deb88d028715e88c16853e (patch) | |
tree | 3eac9e5f6286b22481e6c0f2b75fda100bfe899b /examples/declarative/parallax | |
parent | 8fdd8a85a48f778de0295ff0b409860f85b7af20 (diff) | |
download | Qt-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/declarative/parallax')
-rw-r--r-- | examples/declarative/parallax/qml/ParallaxView.qml | 1 |
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 } |