Index: sources/gui/qml/components/RangeSlider.qml =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -r43ffdd5ca0998f06d28b6adeee231a6eec7e7150 --- sources/gui/qml/components/RangeSlider.qml (.../RangeSlider.qml) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/gui/qml/components/RangeSlider.qml (.../RangeSlider.qml) (revision 43ffdd5ca0998f06d28b6adeee231a6eec7e7150) @@ -142,6 +142,7 @@ /// \param x : the active slider x cordinate. /// function setValue(x) { + let mValue = 0 if ( x < 0 ) { mValue = minimum; return mValue; } if ( x > width ) { mValue = maximum; return mValue; }