aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authormmbyday <mmbyday@protonmail.com>2019-04-11 15:03:00 -0700
committermmbyday <mmbyday@protonmail.com>2019-04-11 22:14:44 -0700
commit9c4688b3f0a89c82fbcb675a857b9bd463ce9060 (patch)
tree4fd7ceae62c2b534e56d2726d81c7e7dbd2793bb /components
parentd2c47606ca8446e58ef122117f8f84b578691bab (diff)
downloadmonzero-gui-9c4688b3f0a89c82fbcb675a857b9bd463ce9060.tar.gz
monzero-gui-9c4688b3f0a89c82fbcb675a857b9bd463ce9060.tar.xz
monzero-gui-9c4688b3f0a89c82fbcb675a857b9bd463ce9060.zip
PasswordDialog: don't always show()
Diffstat (limited to 'components')
-rw-r--r--components/NewPasswordDialog.qml3
-rw-r--r--components/PassphraseDialog.qml1
-rw-r--r--components/PasswordDialog.qml3
3 files changed, 2 insertions, 5 deletions
diff --git a/components/NewPasswordDialog.qml b/components/NewPasswordDialog.qml
index 2ee1fb8a..8de1fd9f 100644
--- a/components/NewPasswordDialog.qml
+++ b/components/NewPasswordDialog.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2017, The Monero Project
+// Copyright (c) 2014-2019, The Monero Project
//
// All rights reserved.
//
@@ -53,7 +53,6 @@ Item {
leftPanel.enabled = false
middlePanel.enabled = false
titleBar.enabled = false
- show();
root.visible = true;
passwordInput1.text = "";
passwordInput2.text = "";
diff --git a/components/PassphraseDialog.qml b/components/PassphraseDialog.qml
index c7af29f9..034c4610 100644
--- a/components/PassphraseDialog.qml
+++ b/components/PassphraseDialog.qml
@@ -59,7 +59,6 @@ Item {
leftPanel.enabled = false
middlePanel.enabled = false
titleBar.enabled = false
- show();
root.visible = true;
passphaseInput1.text = "";
passphaseInput2.text = "";
diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml
index f820e4df..842c0549 100644
--- a/components/PasswordDialog.qml
+++ b/components/PasswordDialog.qml
@@ -1,4 +1,4 @@
-// Copyright (c) 2014-2018, The Monero Project
+// Copyright (c) 2014-2019, The Monero Project
//
// All rights reserved.
//
@@ -63,7 +63,6 @@ Item {
leftPanel.enabled = false
middlePanel.enabled = false
titleBar.enabled = false
- show()
root.visible = true;
passwordInput.forceActiveFocus();
passwordInput.text = ""