Index: sources/gui/qml/pages/treatment/TreatmentStack.qml =================================================================== diff -u -r9c86f0af32fb7a2530ab738b03d9a37359b9db8c -r87cf85e3ec420c9708e81ea2a7f946edaaad670f --- sources/gui/qml/pages/treatment/TreatmentStack.qml (.../TreatmentStack.qml) (revision 9c86f0af32fb7a2530ab738b03d9a37359b9db8c) +++ sources/gui/qml/pages/treatment/TreatmentStack.qml (.../TreatmentStack.qml) (revision 87cf85e3ec420c9708e81ea2a7f946edaaad670f) @@ -38,31 +38,8 @@ _treatmentAdjustmentPressuresLimits .close() _treatmentAdjustmentDuration .close() _treatmentUltrafiltrationItem .close() - - // When the current view is not the treatment screen (ie: rinseback, recirculation, end), - // the visible bool is false, so stop the timer, else returning back from those screens - // start the timer. - if(!visible) { - vTreatmentVitals.doTimerStop() - } else { - vTreatmentVitals.doTimerStart() - } } - Connections{ target: stackView - function onCurrentItemChanged(){ - // For cases navigating from the dialysis treatment state to the - // blood priming state, the stackview currentItem changes away from the - // _treatmentHome item. So need to stop the timer and start the timer again - // when the current stack view has the dialysis state screen item as the current. - if(!stackView.empty && stackView.currentItem == _treatmentHome){ - vTreatmentVitals.doTimerStart() - } else { - vTreatmentVitals.doTimerStop() - } - } - } - stackView.initialItem : null // ultrafiltration state information bar properties