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…
Reference in New Issue