Index: sources/gui/qml/pages/posttreatment/PostTreatmentStack.qml =================================================================== diff -u -r490a131c41be4c335a7fbd74ff79b5784fb1726c -r36981dc04fd7c25285975d4ba5ad8c1ddeb16028 --- sources/gui/qml/pages/posttreatment/PostTreatmentStack.qml (.../PostTreatmentStack.qml) (revision 490a131c41be4c335a7fbd74ff79b5784fb1726c) +++ sources/gui/qml/pages/posttreatment/PostTreatmentStack.qml (.../PostTreatmentStack.qml) (revision 36981dc04fd7c25285975d4ba5ad8c1ddeb16028) @@ -123,6 +123,18 @@ } } + function continueEnabled() { + switch ( _root.stackStepIndex ) { + case PostTreatmentStack.Disconnect: + return _postTreatmentDisconnectStack.continueEnabled() + case PostTreatmentStack.Remove: + case PostTreatmentStack.Review: + case PostTreatmentStack.Disinfection: // fallthrough + default: + return true + } + } + StepNavigationTitleBar { id: _titleBar stepIndex : _root.stackStepIndex anchors { @@ -137,6 +149,7 @@ backVisible : _root.backEnabled() width : _root.width stepNames : _root.stepNames + confirmEnabled : _root.continueEnabled() subStepIndex : isDisconnect ? _postTreatmentDisconnectStack.subStepIndex + 1 : 0