Index: sources/gui/qml/pages/posttreatment/PostTreatmentDisconnectStack.qml =================================================================== diff -u -r7c12b8ce1964a37e856ebcae205f8b4ed19f3c6a -rab7cddfe742a1c00e265a37effe043f2c3db8bec --- sources/gui/qml/pages/posttreatment/PostTreatmentDisconnectStack.qml (.../PostTreatmentDisconnectStack.qml) (revision 7c12b8ce1964a37e856ebcae205f8b4ed19f3c6a) +++ sources/gui/qml/pages/posttreatment/PostTreatmentDisconnectStack.qml (.../PostTreatmentDisconnectStack.qml) (revision ab7cddfe742a1c00e265a37effe043f2c3db8bec) @@ -23,14 +23,17 @@ property int subStepIndex: PostTreatmentDisconnectStack.Step.DisconnectPatient signal goToNextStep() - signal goToPreviousStep() function initStack() { page ( _postTreatmentDisconnectPatient ) } + function goToDrain() { + page ( _postTreatmentDrainConsumables ) + } + function continueClicked() { switch ( _root.subStepIndex ) { case PostTreatmentDisconnectStack.Step.DisconnectPatient: - page ( _postTreatmentDrainConsumables ) + vPostTreatmentAdjustmentPatientDisconnectionConfirm.doConfirm() break case PostTreatmentDisconnectStack.Step.DrainConsumable: goToNextStep () @@ -59,11 +62,12 @@ // ----- Screens definitions PostTreatmentBase { id: _postTreatmentDisconnectPatient instructionBased : true - onVisibleChanged : if (visible) { _root.subStepIndex = PostTreatmentDisconnectStack.Step.DisconnectPatient ; updateModel() } subStepName : qsTr("Disconnect Patient BloodLines") + onVisibleChanged : if (visible) { _root.subStepIndex = PostTreatmentDisconnectStack.Step.DisconnectPatient ; updateModel() } } PostTreatmentBase { id: _postTreatmentDrainConsumables + title.text : qsTr("Drain Consumable Options") onVisibleChanged : if (visible) { _root.subStepIndex = PostTreatmentDisconnectStack.Step.DrainConsumable } } }