Index: sources/gui/qml/pages/posttreatment/PostTreatmentStack.qml =================================================================== diff -u -r8f8fc462e36e2ea9fbd236b86aaab5f048c17509 -rb96c20e1608b1f215dc995d91b40cdc1442108c9 --- sources/gui/qml/pages/posttreatment/PostTreatmentStack.qml (.../PostTreatmentStack.qml) (revision 8f8fc462e36e2ea9fbd236b86aaab5f048c17509) +++ sources/gui/qml/pages/posttreatment/PostTreatmentStack.qml (.../PostTreatmentStack.qml) (revision b96c20e1608b1f215dc995d91b40cdc1442108c9) @@ -39,7 +39,6 @@ /* No wait for Rsp, so navigates => */ page( _treatmentReviewConfirm ) /* After navigation ask for Tx data */ vPostTreatmentAdjustmentTreatmentLog .doRequest( )} onTreatmentReviewConfirm : { vPostTreatmentAdjustmentPatientDisconnectionConfirm .doConfirm( )} - // page( _disposablesRemovalConfirm ) onDisposablesRemovalConfirm : vPostTreatmentAdjustmentDisposablesRemovalConfirm .doConfirm( ) onDisposablesRemovalBack : page( _treatmentReviewConfirm ) onVisibleChanged: { @@ -103,6 +102,18 @@ Connections { target: vHDOperationMode function onPostTreatmentChanged ( vValue ) { page( _patientDisconnectionConfirm , vValue )} } + + Connections { target: vPostTreatmentAdjustmentPatientDisconnectionConfirm + function onAdjustmentTriggered ( vValue ) { + if ( vPostTreatmentAdjustmentPatientDisconnectionConfirm.adjustment_Accepted ) { + page( _disposablesRemovalConfirm ) + _treatmentReviewConfirm.reasonText = "" + } else { + _treatmentReviewConfirm.reasonText = vPostTreatmentAdjustmentPatientDisconnectionConfirm.text() + } + } + } + Connections { target: vPostTreatmentAdjustmentDisposablesRemovalConfirm function onAdjustmentTriggered ( vValue ) { if ( vPostTreatmentAdjustmentDisposablesRemovalConfirm.adjustment_Accepted ) {