Index: sources/gui/qml/pages/treatment/TreatmentStack.qml =================================================================== diff -u -r81999ff346ffc8e3f9c4dd1c948b4b7fc577de2c -r01cdcd9647c07963bf4a1cf1e477755dddb84c6c --- sources/gui/qml/pages/treatment/TreatmentStack.qml (.../TreatmentStack.qml) (revision 81999ff346ffc8e3f9c4dd1c948b4b7fc577de2c) +++ sources/gui/qml/pages/treatment/TreatmentStack.qml (.../TreatmentStack.qml) (revision 01cdcd9647c07963bf4a1cf1e477755dddb84c6c) @@ -244,11 +244,33 @@ // ---------- Manages Responses ---------- Connections { target: vTreatmentAdjustmentRinseback onAdjustmentTriggered: { - console.debug(vTreatmentAdjustmentRinseback.text()) - _postTreatmentRinseback.reasonText = vTreatmentAdjustmentRinseback.text(); + // there is only one message to handle all the sub pages of rinseback + // since the rejection reason will be cleared by each trasition + // so it's fine to set all at the same time + // and let them cleared for their own message when each get visible. + _postTreatmentRinsebackInit .reasonText = vTreatmentAdjustmentRinseback.text(); + _postTreatmentRinseback .reasonText = vTreatmentAdjustmentRinseback.text(); + _postTreatmentRinsebackComplete .reasonText = vTreatmentAdjustmentRinseback.text(); } } + Connections { target: vTreatmentAdjustmentRecirculate + onAdjustmentTriggered: { + // there is only one message to handle all the sub pages of rinseback + // since the rejection reason will be cleared by each trasition + // so it's fine to set all at the same time + // and let them cleared for their own message when each get visible. + _postTreatmentRecirculate .reasonText = vTreatmentAdjustmentRecirculate.text(); + _postTreatmentReconnect .reasonText = vTreatmentAdjustmentRecirculate.text(); + } + } + + Connections { target: vTreatmentAdjustmentEnd + onAdjustmentTriggered: { + _postTreatmentEnd.reasonText = vTreatmentAdjustmentEnd.text(); + } + } + Connections { target: vTreatmentAdjustmentDuration onAdjustmentTriggered : { if ( vTreatmentAdjustmentDuration.adjustment_Accepted ) {