PasswordDialog: hide balance when passwordDialog is open

Co-authored-by: mmbyday <mmbyday@protonmail.com>
This commit is contained in:
xiphon
2018-12-15 04:02:01 +00:00
parent 59fc48bd8b
commit bd8289803e
2 changed files with 6 additions and 1 deletions

View File

@@ -61,6 +61,8 @@ Item {
root.visible = true;
passwordInput.forceActiveFocus();
passwordInput.text = ""
appWindow.hideBalanceForced = true;
appWindow.updateBalance();
}
function showError(errorText) {
@@ -73,6 +75,8 @@ Item {
middlePanel.enabled = true
titleBar.enabled = true
root.visible = false;
appWindow.hideBalanceForced = false;
appWindow.updateBalance();
closeCallback();
}