Index: sources/gui/qml/pages/settings/SettingsDecommission.qml =================================================================== diff -u -r934354462a353ff5e7fc2ddfe6f3a8f0121a8f3f -r88a09dc4b26cfdd5fd111d20adfb9cb60697186c --- sources/gui/qml/pages/settings/SettingsDecommission.qml (.../SettingsDecommission.qml) (revision 934354462a353ff5e7fc2ddfe6f3a8f0121a8f3f) +++ sources/gui/qml/pages/settings/SettingsDecommission.qml (.../SettingsDecommission.qml) (revision 88a09dc4b26cfdd5fd111d20adfb9cb60697186c) @@ -38,12 +38,12 @@ backEnabled : vDevice.decommissionEnabled onConfirmClicked : { - _confirmDialog.titleText = _root.title + _confirmDialog.titleText = _headerBar.titleText _confirmDialog.open() } Connections { target: _confirmDialog function onAccepted() { - if ( _confirmDialog.titleText == _root.title ) { // use the title as the indication of what has been confirmed and if that is related to this function. + if ( _confirmDialog.titleText === _headerBar.titleText ) { // use the title as the indication of what has been confirmed and if that is related to this function. vDevice.decommission = "" // Need to set to something (ie: emtpy string) to trigger CPP code } }