components: remove show() from password dialogs

This commit is contained in:
selsta 2019-04-25 23:11:56 +02:00
parent 7d9a698732
commit c92c3627a6
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
3 changed files with 0 additions and 7 deletions

View file

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

View file

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

View file

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