Index: sources/gui/qml/pages/pretreatment/connection/PreTreatmentConnectionStack.qml =================================================================== diff -u -rc36f8432854c8ab42f71b76da826b50912822cf7 -r17f5bc42d292b6b0b4e326d6f3042c217f3166b2 --- sources/gui/qml/pages/pretreatment/connection/PreTreatmentConnectionStack.qml (.../PreTreatmentConnectionStack.qml) (revision c36f8432854c8ab42f71b76da826b50912822cf7) +++ sources/gui/qml/pages/pretreatment/connection/PreTreatmentConnectionStack.qml (.../PreTreatmentConnectionStack.qml) (revision 17f5bc42d292b6b0b4e326d6f3042c217f3166b2) @@ -7,7 +7,7 @@ * * \file PreTreatmentConnectionStack.qml * \author (last) Behrouz NematiPour - * \date (last) 08-Mar-2024 + * \date (last) 23-Sep-2024 * \author (original) Behrouz NematiPour * \date (original) 18-Mar-2021 * @@ -35,13 +35,23 @@ property int stackStepIndex : 7 + function clear() { + _preTreatmentVitals .clear() + _preTreatmentUltrafiltration.clear() + + } + PreTreatmentBase { id: _preTreatmentVitals // BP/HR Entry function update(vSystolic, vDiastolic ,vHeartRate) { _bphrEntry.systolic = vSystolic ? vSystolic : "" _bphrEntry.diastolic = vDiastolic ? vDiastolic : "" _bphrEntry.heartRate = vHeartRate ? vHeartRate : "" } + function clear() { + _bphrEntry.clear() + } + header.stepIndex : 5 header.confirmText.text : qsTr("CONFIRM") header.backVisible : false @@ -187,6 +197,7 @@ _mainMenu.hidden = true } else { + clear() stackView.initialItem = null } }