Index: sources/gui/qml/pages/pretreatment/connection/PreTreatmentUltrafiltration.qml =================================================================== diff -u -r124c2e38e72a1a655d9d479c9c7a1cd8c5d5e6c4 -r2e7d498210ba1837f0d77c23c62bf2cf43a26112 --- sources/gui/qml/pages/pretreatment/connection/PreTreatmentUltrafiltration.qml (.../PreTreatmentUltrafiltration.qml) (revision 124c2e38e72a1a655d9d479c9c7a1cd8c5d5e6c4) +++ sources/gui/qml/pages/pretreatment/connection/PreTreatmentUltrafiltration.qml (.../PreTreatmentUltrafiltration.qml) (revision 2e7d498210ba1837f0d77c23c62bf2cf43a26112) @@ -29,9 +29,16 @@ PreTreatmentBase { id: _root objectName: "_PreTreatmentUltrafiltration" - property alias ufVolume : _volumeSlider.value + property alias ufVolume : _volumeSlider.value header.confirmEnabled: _volumeSlider.isActive + onVisibleChanged: { + /* + It is only for the dry-demo due to its independent flow. + Otherwise, won't needed in the normal designed user-flow. + */ + clear() + } function reset( vValue ) { if ( ! handleMinimum( vValue ) ) // if not handled go next @@ -40,8 +47,8 @@ } function clear() { - _volumeSlider.reset ( _volumeSlider.defaultValue ) - _volumeSlider.isActive = false + _volumeSlider.reset ( _GuiView.dryDemoMode ? 2 : _volumeSlider.defaultValue ) + _volumeSlider.isActive = _GuiView.dryDemoMode } function handleMinimum( vValue ) { @@ -95,7 +102,8 @@ top: parent.top topMargin: 425 } - isActive: false + // The UF is active by default if the dryDemoMode + isActive: _GuiView.dryDemoMode width : Variables.ultrafiltrationProgressbarWidth step : 0.100 stepSnap: true @@ -136,5 +144,4 @@ _volumeSlider.isActive = true } } - }