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 Index: sources/view/VTreatmentCreate.cpp =================================================================== diff -u -rc9f8f8cf3c6c37fc6460d8675c62c9442c4d4263 -rda6d5fa4aa2f69c1f9607b4060934943ce186452 --- sources/view/VTreatmentCreate.cpp (.../VTreatmentCreate.cpp) (revision c9f8f8cf3c6c37fc6460d8675c62c9442c4d4263) +++ sources/view/VTreatmentCreate.cpp (.../VTreatmentCreate.cpp) (revision da6d5fa4aa2f69c1f9607b4060934943ce186452) @@ -179,6 +179,6 @@ << QString("%0 mmHg" ).arg(_arterialPressureLimitHigh ) << QString("%0 mmHg" ).arg(_venousPressureLimitLow ) << QString("%0 mmHg" ).arg(_venousPressureLimitHigh ) - << QString("%0 min" ).arg(_bloodPressureMeasureInterval ) + << ( _bloodPressureMeasureInterval ? QString("%0 min").arg(_bloodPressureMeasureInterval) : tr("OFF") ) << QString("%0 mL/min" ).arg(_rinsebackFlowRate ); }