Index: sources/gui/qml/main.qml =================================================================== diff -u -r3ef1a4ff361ba1774ad1a6f6170dbb174cadbdd5 -r76e1360b5d2377d4f6d3310d524a902a04e64ff1 --- sources/gui/qml/main.qml (.../main.qml) (revision 3ef1a4ff361ba1774ad1a6f6170dbb174cadbdd5) +++ sources/gui/qml/main.qml (.../main.qml) (revision 76e1360b5d2377d4f6d3310d524a902a04e64ff1) @@ -277,15 +277,21 @@ // 3 - Footer MainMenu { id: _mainMenu + anchors.bottom: parent.bottom + function isTreatment () { _mainMenu.itemPressed(0) } function isManager () { _mainMenu.itemPressed(1) } function isSettings () { _mainMenu.itemPressed(2) } disable : _GuiView.manufactSetup || _GuiView.updateSetup hidden : true // it should be hidden by default since the landing screen changed to init and it does not have the main menu until the POST passes. - titles : [ qsTr("Treatment") , qsTr("Prescriptions") , qsTr("Settings") ] - visibleItems : [ true , true , true ] + width : Variables.applicationWidth + Component.onCompleted : { + _mainMenu.updateModel( [{ "text": qsTr("Treatment"), "visible": true }, + { "text": qsTr("Prescriptions"), "visible": true }, + { "text": qsTr("Settings"), "visible": true }]); + _settingsStack.visible = false _managerStack .visible = false _mainStack .visible = true