Index: sources/gui/qml/pages/settings/SettingsStack.qml =================================================================== diff -u -ra7c580f0998ee781c47314384f677249cea4c4b4 -r59625af31d9009df82fa48310b54c0f247e829fc --- sources/gui/qml/pages/settings/SettingsStack.qml (.../SettingsStack.qml) (revision a7c580f0998ee781c47314384f677249cea4c4b4) +++ sources/gui/qml/pages/settings/SettingsStack.qml (.../SettingsStack.qml) (revision 59625af31d9009df82fa48310b54c0f247e829fc) @@ -70,9 +70,8 @@ readonly property bool visibleSetDateTime : loggedIn || onlyUpdating readonly property bool visibleDeviceConfiguration : onlyManufacturing && loggedIn readonly property bool visibleDeviceRegistration : onlyManufacturing && loggedIn + readonly property bool visibleStartSoftwareUpdate : loggedIn - - enum ItemsIndex { Information , VolumeBrightness , @@ -91,7 +90,8 @@ SWUpdate , RootSSHAccess , FactoryReset , - Decommission + Decommission , + StartSoftwareUpdate } property var itemsText : [ qsTr("Information" ), // Information @@ -112,6 +112,7 @@ qsTr("Enable Root SSH" ), // RootSSHAccess qsTr("Factory Reset" ), // FactoryReset qsTr("Decommissioning" ), // Decommission + qsTr("Software Update" ), // Software Update Request ] property var itemsEnabled : [ true , // Information @@ -132,6 +133,7 @@ true , // RootSSHAccess true , // FactoryReset true , // Decommission + true , // Software Update Request ] property var itemsVisible : [ visibleInformation , // Information @@ -152,6 +154,7 @@ visibleRootSSHAccess , // RootSSHAccess visibleFactoryReset , // FactoryReset visibleDecommission , // Decommission + visibleStartSoftwareUpdate , // Software update request ] SettingsHome { id : _settingsHome @@ -246,6 +249,10 @@ push( _serviceDecommission ) break + case SettingsStack.StartSoftwareUpdate: + push( _serviceStartSoftwareUpdate ) + break + default: console.debug("Unknown Index", vIndex) break @@ -268,6 +275,7 @@ SettingsRootSSHAccess { id: _SettingsRootSSHAccess } SettingsFactoryReset { id: _serviceFactoryReset } SettingsDecommission { id: _serviceDecommission } + SettingsStartSoftwareUpdate { id: _serviceStartSoftwareUpdate } function gotoServiceMode( vservice ) { //DEBUG console.log (" 0 ---------- ", _GuiView.manufactMode, _GuiView.manufactSetup, vservice, stackView.initialItem, stackView.currentItem, stackView.depth)