Index: sources/gui/qml/pages/MainStack.qml =================================================================== diff -u -r27cc308ff5113a9386899d3c8f8b29962a8498e1 -rec7f919fdb70ff29a8de627937e4ad7008e59c1c --- sources/gui/qml/pages/MainStack.qml (.../MainStack.qml) (revision 27cc308ff5113a9386899d3c8f8b29962a8498e1) +++ sources/gui/qml/pages/MainStack.qml (.../MainStack.qml) (revision ec7f919fdb70ff29a8de627937e4ad7008e59c1c) @@ -147,6 +147,21 @@ onInvalidModeChanged : { page( null , vinvalidMode )} } + // As long as UI is in In-Tx BP/HR is updated and the dialog will pop up on interval. + Connections { target: vHDOperationMode + onInTreatmentChanged : { + vTreatmentVitals.enableDialog = vinTreatment + if ( vinTreatment ) { + vTreatmentVitals.doTimerStart() + } + else { + vTreatmentVitals.doTimerStop() + vTreatmentVitals.doReset() + } + + } + } + // the page function is more flixible regarding our current design // and it's easier(or may not need) to modify later if required. // and is more optimized and will never leave screen empty