diff options
author | Caroline Chao <caroline.chao@digia.com> | 2013-05-27 08:57:12 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-27 14:12:57 +0200 |
commit | 78713a31058472c8a83813510d39fdf31056a35f (patch) | |
tree | e5b9ba48c4cb020438d186f9455ce96f01e1872f /src/controls/Slider.qml | |
parent | 9b34e4377d3bbbcfd600bb056d77453eaa76fd3e (diff) | |
download | qtquickcontrols-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.qml | 2 |
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 |