forked from Public/monero-gui
components: remove show() from password dialogs
This commit is contained in:
@@ -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 = "";
|
||||||
|
|||||||
@@ -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 = "";
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user