Index: sources/gui/qml/components/RangeSlider.qml =================================================================== diff -u -r874a982c1983fea20307a031e09f90a91ca34d75 -rda6d5fa4aa2f69c1f9607b4060934943ce186452 --- sources/gui/qml/components/RangeSlider.qml (.../RangeSlider.qml) (revision 874a982c1983fea20307a031e09f90a91ca34d75) +++ sources/gui/qml/components/RangeSlider.qml (.../RangeSlider.qml) (revision da6d5fa4aa2f69c1f9607b4060934943ce186452) @@ -242,13 +242,31 @@ } function setMinValue(vValue) { - minAdjusted = true - minValue = vValue + // added an if block in case for the first time (not adjusted yet) the value is not changed (still on def value), to force the valueChanged emit. + if ( ! minAdjusted ) { + minAdjusted = true + if ( vValue == minValue ) + minValueChanged(vValue) + else + minValue = vValue + } + else { + minValue = vValue + } } function setMaxValue(vValue) { - maxAdjusted = true - maxValue = vValue + // added an if block in case for the first time (not adjusted yet) the value is not changed (still on def value), to force the valueChanged emit. + if ( ! maxAdjusted ) { + maxAdjusted = true + if ( vValue == maxValue ) + maxValueChanged(vValue) + else + maxValue = vValue + } + else { + maxValue = vValue + } } // This is a helper function that will calculate and return a new value