Index: sources/gui/qml/pages/settings/SettingsFactoryReset.qml =================================================================== diff -u -r5610b1404271cf1be791b99903fa73ad4f7b7dc9 -r945614a28df94075bfccdfde7c876e4f53ed3410 --- sources/gui/qml/pages/settings/SettingsFactoryReset.qml (.../SettingsFactoryReset.qml) (revision 5610b1404271cf1be791b99903fa73ad4f7b7dc9) +++ sources/gui/qml/pages/settings/SettingsFactoryReset.qml (.../SettingsFactoryReset.qml) (revision 945614a28df94075bfccdfde7c876e4f53ed3410) @@ -34,23 +34,16 @@ confirmVisible : true confirmEnabled : vDevice.factoryResetEnabled - onConfirmClicked : { - vDevice.factoryReset = "start" + onConfirmClicked : vDevice.factoryReset = "" // Need to set to something (ie: emtpy string) to trigger CPP code - // restore the binding; notificationText will now be bind to vDevice.status and correctly update - _root.notificationText = Qt.binding(function(){return vDevice.status}) - } - backVisible : true backEnabled : vDevice.factoryResetEnabled - onBackClicked : _root.notificationText = "" // Note: breaks binding of notificationText property + onBackClicked : _root.notificationText = "" Connections{ target:vDevice function onAcceptedChanged() { if(_root.visible) { // indicate reset screen is shown - if(vDevice.accepted) { // indicate reset completed - vSettings.syncPasswordSetting() // update the copied default script to have the saved password - } + _root.notificationText = vDevice.status } } }