Index: sources/gui/qml/pages/pretreatment/PreTreatmentInstallStack.qml =================================================================== diff -u -r52d17dab2211c2e4d9160c55c316ad7a40ce4d6c -r0975a67dd4e4673b9a7b226bfea02cbfa489c418 --- sources/gui/qml/pages/pretreatment/PreTreatmentInstallStack.qml (.../PreTreatmentInstallStack.qml) (revision 52d17dab2211c2e4d9160c55c316ad7a40ce4d6c) +++ sources/gui/qml/pages/pretreatment/PreTreatmentInstallStack.qml (.../PreTreatmentInstallStack.qml) (revision 0975a67dd4e4673b9a7b226bfea02cbfa489c418) @@ -24,6 +24,12 @@ property int subStepIndex: PreTreatmentInstallStack.Step.BloodSetTubing + onVisibleChanged: { + if (visible) { + _headerBar.activeStack = stackView + } + } + signal goToNextStep() signal goToPreviousStep() @@ -54,7 +60,7 @@ goToPreviousStep () break case PreTreatmentInstallStack.Step.BloodLines: - // cannot go back from here + page ( _preTreatmentBloodSetTubing ) break case PreTreatmentInstallStack.Step.PressureLinesAndDialyzer: page ( _preTreatmentBloodLines ) @@ -68,6 +74,8 @@ } function confirmButtonText() { + if ( vSettings.advancedMode ) { return qsTr("Auto Load") } + switch ( _root.subStepIndex ) { case PreTreatmentInstallStack.Step.BloodSetTubing: return qsTr("Auto Load") @@ -79,10 +87,6 @@ } } - function backEnabled() { - return subStepIndex !== PreTreatmentInstallStack.Step.BloodLines - } - // ----- Screens definitions PreTreatmentBase { id: _preTreatmentBloodSetTubing instructionBased : true