aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-04-25 23:11:56 +0200
committerselsta <selsta@sent.at>2019-04-25 23:11:56 +0200
commitc92c3627a634130adada6bf458dd4b4e902c8589 (patch)
tree0b698cdcc344635cdaa6b2f953b1d40626d88b64
parent7d9a698732402a9794b8fad88d248c81bc996e7e (diff)
downloadmonzero-gui-c92c3627a634130adada6bf458dd4b4e902c8589.tar.gz
monzero-gui-c92c3627a634130adada6bf458dd4b4e902c8589.tar.xz
monzero-gui-c92c3627a634130adada6bf458dd4b4e902c8589.zip
components: remove show() from password dialogs
-rw-r--r--components/NewPasswordDialog.qml2
-rw-r--r--components/PassphraseDialog.qml1
-rw-r--r--components/PasswordDialog.qml4
3 files changed, 0 insertions, 7 deletions
diff --git a/components/NewPasswordDialog.qml b/components/NewPasswordDialog.qml
index 672bba8e..bcf1d0c8 100644
--- a/components/NewPasswordDialog.qml
+++ b/components/NewPasswordDialog.qml
@@ -56,8 +56,6 @@ Item {
leftPanel.enabled = false
middlePanel.enabled = false
titleBar.state = "essentials"
-
- show();
root.visible = true;
passwordInput1.text = "";
passwordInput2.text = "";
diff --git a/components/PassphraseDialog.qml b/components/PassphraseDialog.qml
index 9b2d7956..f8ae19e5 100644
--- a/components/PassphraseDialog.qml
+++ b/components/PassphraseDialog.qml
@@ -64,7 +64,6 @@ Item {
middlePanel.enabled = false
titleBar.state = "essentials"
- show();
root.visible = true;
passphaseInput1.text = "";
passphaseInput2.text = "";
diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml
index fe1176e0..717d4b85 100644
--- a/components/PasswordDialog.qml
+++ b/components/PasswordDialog.qml
@@ -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();
}