diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-04-30 03:47:01 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-04-30 03:47:01 (GMT) |
commit | 4e01e6107c4228912fba90ba682a7c0620d92dcb (patch) | |
tree | e75dec628ea270b00bcfaa76533e21c486ca994a /examples/declarative/slideswitch | |
parent | 63fd040014fa21a9e59466781b835d4188965559 (diff) | |
download | Qt-4e01e6107c4228912fba90ba682a7c0620d92dcb.zip Qt-4e01e6107c4228912fba90ba682a7c0620d92dcb.tar.gz Qt-4e01e6107c4228912fba90ba682a7c0620d92dcb.tar.bz2 |
fix
Diffstat (limited to 'examples/declarative/slideswitch')
-rw-r--r-- | examples/declarative/slideswitch/Switch.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/slideswitch/Switch.qml b/examples/declarative/slideswitch/Switch.qml index a3f75e8..5862646 100644 --- a/examples/declarative/slideswitch/Switch.qml +++ b/examples/declarative/slideswitch/Switch.qml @@ -46,7 +46,7 @@ Item { MouseRegion { anchors.fill: Knob onClicked: { toggle() } - onReleased: { if (!isClick) dorelease() } + onReleased: { dorelease() } drag.target: Knob drag.axis: "x" drag.xmin: 1 |