Index: sources/gui/qml/components/RangeSlider.qml =================================================================== diff -u -rdfb052718b359bf4204fe5572e2cd45aa7c562ec -r2ef03b2ce51b4dc507f66e9671953a8e0824bde9 --- sources/gui/qml/components/RangeSlider.qml (.../RangeSlider.qml) (revision dfb052718b359bf4204fe5572e2cd45aa7c562ec) +++ sources/gui/qml/components/RangeSlider.qml (.../RangeSlider.qml) (revision 2ef03b2ce51b4dc507f66e9671953a8e0824bde9) @@ -1,13 +1,13 @@ /*! * - * Copyright (c) 2020-2023 Diality Inc. - All Rights Reserved. + * Copyright (c) 2020-2024 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. * * \file RangeSlider.qml - * \author (last) Vy - * \date (last) 21-Mar-2023 + * \author (last) Behrouz NematiPour + * \date (last) 31-Mar-2023 * \author (original) Behrouz NematiPour * \date (original) 17-Sep-2020 * @@ -122,17 +122,21 @@ } function incrementMax(vInStepSegments) { - updateMaxValue(vInStepSegments, true) + if ( ! maxAdjusted ) { setMaxValue(_root.maxValueUpperBound )} + else { updateMaxValue(vInStepSegments, true )} } function decrementMax(vInStepSegments) { - updateMaxValue(vInStepSegments, false) + if ( ! maxAdjusted ) { setMaxValue(_root.maxValueUpperBound )} + else { updateMaxValue(vInStepSegments, false)} } function incrementMin(vInStepSegments) { - updateMinValue(vInStepSegments, true) + if ( ! minAdjusted ) { setMinValue(_root.minValueLowerBound )} + else { updateMinValue(vInStepSegments, true )} } function decrementMin(vInStepSegments) { - updateMinValue(vInStepSegments, false) + if ( ! minAdjusted ) { setMinValue(_root.minValueLowerBound )} + else { updateMinValue(vInStepSegments, false)} } /// /// \brief grays out the rangebar and handler if not adjusted and hasAdjust set to true