-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
None
-
Mac desktop
-
4dce1312fbb66c88a8cdef59dfdf2194db78d77f
If a flickable is moving and you stop it by setting 'contentY' (or 'contentX'), the flickable stops moving, but the value of the 'moving' parameter remains at 'true'.
Here's some test code to show this happening:
import Qt 4.7
Rectangle {
width: 400
height: 800
ListView {
id: myList
y: 100
width: 400
height: 700
model: 100
delegate: Rectangle {
width: 400
height: 100
color: 'red'
border.color: 'yellow'
border.width: 2
Text
}
}
Rectangle {
width: 400
height: 100
color: 'grey'
Text
MouseArea
{ anchors.fill: parent onClicked: myList.contentY = 0 }}
Text
{ y : 200 text: 'myList.moving = ' + myList.moving font.pixelSize: 20 }}