Index: sources/gui/qml/main.qml =================================================================== diff -u -r9c86f0af32fb7a2530ab738b03d9a37359b9db8c -rb72480e5e2a36503368d400839d27f63c670a744 --- sources/gui/qml/main.qml (.../main.qml) (revision 9c86f0af32fb7a2530ab738b03d9a37359b9db8c) +++ sources/gui/qml/main.qml (.../main.qml) (revision b72480e5e2a36503368d400839d27f63c670a744) @@ -148,7 +148,13 @@ VCloudSync { id: vCloudSync } // ---- States - VHDOperationMode { id: vHDOperationMode } + VHDOperationMode { id: vHDOperationMode + onStandbyChanged: { + if(vHDOperationMode.standby) { + vTreatmentVitals.doReset() + } + } + } VPreTreatmentStates { id: vPreTreatmentStates } VHDTreatmentStates { id: vHDTreatmentStates } VPostTreatmentStates { id: vPostTreatmentStates } @@ -164,7 +170,6 @@ } else { vTreatmentVitals.doTimerStop() - vTreatmentVitals.doReset() } } }