Index: sources/gui/qml/pages/settings/SettingsStack.qml =================================================================== diff -u -rf0ffeb8c9ec7a838f039b904ce253b001561b5db -r49b21798fb65ce44a04ae4e771ef7c3c1c119fa6 --- sources/gui/qml/pages/settings/SettingsStack.qml (.../SettingsStack.qml) (revision f0ffeb8c9ec7a838f039b904ce253b001561b5db) +++ sources/gui/qml/pages/settings/SettingsStack.qml (.../SettingsStack.qml) (revision 49b21798fb65ce44a04ae4e771ef7c3c1c119fa6) @@ -54,7 +54,8 @@ DeviceConfiguration , DeviceRegistration , SWUpdate , - FactoryReset + FactoryReset , + Decommission } property var itemsText : [ qsTr("Information" ), // Information @@ -72,6 +73,7 @@ qsTr("Device Registration" ), // DeviceRegistration qsTr("Software Update" ), // SWUpdate qsTr("Factory Reset" ), // FactoryReset + qsTr("Decommission" ), // Decommission ] property var itemsEnabled : [ true , // Information @@ -89,6 +91,7 @@ true , // DeviceRegistration false , // SWUpdate serviceMode , // FactoryReset + serviceMode , // Decommission ] property var itemsVisible : [ true , // Information @@ -106,6 +109,7 @@ _GuiView.manufactMode && serviceMode , // DeviceRegistration // && serviceMode added to make sure the service mode is confirmed by HD false /* serviceMode phase 1 */ , // SWUpdate _GuiView.manufactMode && serviceMode , // FactoryReset + _GuiView.manufactMode && serviceMode , // Decommission ] SettingsHome { id : _settingsHome @@ -173,6 +177,10 @@ push( _serviceFactoryReset ) break + case SettingsStack.Decommission: + push( _serviceDecommission ) + break + default: console.debug("Unknown Index", vIndex) break @@ -192,6 +200,7 @@ SettingsDeviceRegistration { id: _settingsDeviceRegistration } SettingsServicePassword { id: _servicePassword } SettingsFactoryReset { id: _serviceFactoryReset } + SettingsDecommission { id: _serviceDecommission } function gotoServiceMode( vservice ) { if ( ! _servicePassword.isPassword_Accepted ) return