Index: sources/gui/qml/pages/settings/SettingsFactoryReset.qml =================================================================== diff -u -rc849da4382b19f1e0cf36c39e7975b337bf6bec0 -r2038a8a2dcec5a461868b0150ad6fbfc2bfd8707 --- sources/gui/qml/pages/settings/SettingsFactoryReset.qml (.../SettingsFactoryReset.qml) (revision c849da4382b19f1e0cf36c39e7975b337bf6bec0) +++ sources/gui/qml/pages/settings/SettingsFactoryReset.qml (.../SettingsFactoryReset.qml) (revision 2038a8a2dcec5a461868b0150ad6fbfc2bfd8707) @@ -44,4 +44,14 @@ backVisible : true backEnabled : vDevice.factoryResetEnabled onBackClicked : _root.notificationText = "" // Note: breaks binding of notificationText property + + Connections{ target:vDevice + function onAcceptedChanged() { + if(_root.visible) { // indicate reset screen is shown + if(vDevice.accepted) { // indicate reset completed + vSettings.syncPasswordSettings() // update the copied default script to have the saved password + } + } + } + } }