Index: sources/gui/qml/pages/posttreatment/PostTreatmentDisconnectStack.qml =================================================================== diff -u -rab7cddfe742a1c00e265a37effe043f2c3db8bec -r627062628b60e4d512ee8830c2dbc23eef02fe28 --- sources/gui/qml/pages/posttreatment/PostTreatmentDisconnectStack.qml (.../PostTreatmentDisconnectStack.qml) (revision ab7cddfe742a1c00e265a37effe043f2c3db8bec) +++ sources/gui/qml/pages/posttreatment/PostTreatmentDisconnectStack.qml (.../PostTreatmentDisconnectStack.qml) (revision 627062628b60e4d512ee8830c2dbc23eef02fe28) @@ -22,6 +22,12 @@ property int subStepIndex: PostTreatmentDisconnectStack.Step.DisconnectPatient + onVisibleChanged: { + if (visible) { + _headerBar.activeStack = stackView + } + } + signal goToNextStep() function initStack() { page ( _postTreatmentDisconnectPatient ) } @@ -66,8 +72,7 @@ onVisibleChanged : if (visible) { _root.subStepIndex = PostTreatmentDisconnectStack.Step.DisconnectPatient ; updateModel() } } - PostTreatmentBase { id: _postTreatmentDrainConsumables - title.text : qsTr("Drain Consumable Options") + PostTreatmentDrainConsumables { id: _postTreatmentDrainConsumables onVisibleChanged : if (visible) { _root.subStepIndex = PostTreatmentDisconnectStack.Step.DrainConsumable } } }