components: remove show() from password dialogs

pull/2/head
selsta 5 years ago
parent 7d9a698732
commit c92c3627a6
Signed by untrusted user: selsta
GPG Key ID: 2EA0A99A8B07AE5E

@ -56,8 +56,6 @@ Item {
leftPanel.enabled = false
middlePanel.enabled = false
titleBar.state = "essentials"
show();
root.visible = true;
passwordInput1.text = "";
passwordInput2.text = "";

@ -64,7 +64,6 @@ Item {
middlePanel.enabled = false
titleBar.state = "essentials"
show();
root.visible = true;
passphaseInput1.text = "";
passphaseInput2.text = "";

@ -65,12 +65,8 @@ Item {
errorTextLabel.text = errorText ? errorText : "";
leftPanel.enabled = false
middlePanel.enabled = false
titleBar.state = "essentials"
show()
root.visible = true;
passwordInput.forceActiveFocus();
passwordInput.text = ""
appWindow.hideBalanceForced = true;
appWindow.updateBalance();
}