Index: sources/gui/qml/components/Slider.qml =================================================================== diff -u -r60c48d81ada63ef857cec8406d553658477ef87f -r22ad47530c68333209f2006f54dbdcef9efd20aa --- sources/gui/qml/components/Slider.qml (.../Slider.qml) (revision 60c48d81ada63ef857cec8406d553658477ef87f) +++ sources/gui/qml/components/Slider.qml (.../Slider.qml) (revision 22ad47530c68333209f2006f54dbdcef9efd20aa) @@ -122,20 +122,15 @@ } } - onEnabledChanged: _progressRect.value = minimum // reset the visual progress bar - onIsActiveChanged: { setActiveVisuals(isActive) // value is assigned a different value based on active-ness of the slider // This is to resolve the use of slider with a switch and arrows enabled. // It allows correct behavior when using arrow on a first initialize increment of // the slider when the slider has inActiveZero to true. - if(!isActive) { - _root.value = inActiveZero ? 0 : minimum // Not using update() here because slider is not active => _progressRect not visible - } else { - _root.value = _progressRect.value = minimum - } + _root.value = inActiveZero ? 0 : minimum // Not using update() here because slider is not active => _progressRect not visible + _progressRect.value = 0 activeChanged() // emit }