summaryrefslogtreecommitdiff
path: root/src/controls/Slider.qml
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2013-05-27 08:57:12 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-05-27 14:12:57 +0200
commit78713a31058472c8a83813510d39fdf31056a35f (patch)
treee5b9ba48c4cb020438d186f9455ce96f01e1872f /src/controls/Slider.qml
parent9b34e4377d3bbbcfd600bb056d77453eaa76fd3e (diff)
downloadqtquickcontrols-78713a31058472c8a83813510d39fdf31056a35f.tar.gz
Slider: Fix "Binding loop detected" warning
Change-Id: Iffdf1b65a3ac80af73c3567c49bf8f0a9070dccb Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/Slider.qml')
-rw-r--r--src/controls/Slider.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/Slider.qml b/src/controls/Slider.qml
index 711c449b..b6f3e551 100644
--- a/src/controls/Slider.qml
+++ b/src/controls/Slider.qml
@@ -273,7 +273,7 @@ Control {
// means that setting a value while dragging will not "interrupt" the
// dragging activity.
Binding {
- when: !mouseArea.drag.active
+ when: !updateValueWhileDragging && !mouseArea.drag.active
target: fakeHandle
property: __horizontal ? "x" : "y"
value: range.position