aboutsummaryrefslogtreecommitdiff
path: root/components/PasswordDialog.qml
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2018-12-15 04:02:01 +0000
committerxiphon <xiphon@protonmail.com>2018-12-15 04:07:01 +0000
commitbd8289803ec5d6ed10b5b82d6460cfdbede673f1 (patch)
tree003774bd87408e0317f6ffaa05a1e1e08499c1cd /components/PasswordDialog.qml
parent59fc48bd8be5e7227ea3d7b571e9e04829e3636d (diff)
downloadmonzero-gui-bd8289803ec5d6ed10b5b82d6460cfdbede673f1.tar.gz
monzero-gui-bd8289803ec5d6ed10b5b82d6460cfdbede673f1.tar.xz
monzero-gui-bd8289803ec5d6ed10b5b82d6460cfdbede673f1.zip
PasswordDialog: hide balance when passwordDialog is open
Co-authored-by: mmbyday <mmbyday@protonmail.com>
Diffstat (limited to 'components/PasswordDialog.qml')
-rw-r--r--components/PasswordDialog.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml
index d0f442e4..01d91fec 100644
--- a/components/PasswordDialog.qml
+++ b/components/PasswordDialog.qml
@@ -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();
}