From bd8289803ec5d6ed10b5b82d6460cfdbede673f1 Mon Sep 17 00:00:00 2001 From: xiphon Date: Sat, 15 Dec 2018 04:02:01 +0000 Subject: PasswordDialog: hide balance when passwordDialog is open Co-authored-by: mmbyday --- components/PasswordDialog.qml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'components') 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(); } -- cgit v1.2.3