mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-21 20:09:37 +00:00
fix: changing password with wrong current one fails
do not break/overwrite the Submit button's `enabled` property binding Fixes #9465
This commit is contained in:
parent
0d369129d5
commit
6f9149428d
@ -145,7 +145,6 @@ Item {
|
||||
function onPasswordChanged(success: bool, errorMsg: string) {
|
||||
if (success) {
|
||||
submitBtn.loading = false
|
||||
root.exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ StatusModal {
|
||||
console.warn("TODO: Display error message when change password action failure! ")
|
||||
}
|
||||
d.passwordProcessing = "";
|
||||
submitBtn.enabled = false;
|
||||
submitBtn.loading = false;
|
||||
}
|
||||
|
||||
QtObject {
|
||||
|
Loading…
x
Reference in New Issue
Block a user