aboutsummaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/NewPasswordDialog.qml3
-rw-r--r--components/PassphraseDialog.qml4
-rw-r--r--components/PasswordDialog.qml2
3 files changed, 9 insertions, 0 deletions
diff --git a/components/NewPasswordDialog.qml b/components/NewPasswordDialog.qml
index 11e31008..1bbeb94e 100644
--- a/components/NewPasswordDialog.qml
+++ b/components/NewPasswordDialog.qml
@@ -49,6 +49,9 @@ Item {
signal closeCallback()
function open() {
+ isHidden = true
+ passwordInput1.echoMode = TextInput.Password;
+ passwordInput2.echoMode = TextInput.Password;
inactiveOverlay.visible = true
leftPanel.enabled = false
middlePanel.enabled = false
diff --git a/components/PassphraseDialog.qml b/components/PassphraseDialog.qml
index a8b47f12..403637ff 100644
--- a/components/PassphraseDialog.qml
+++ b/components/PassphraseDialog.qml
@@ -51,6 +51,10 @@ Item {
signal closeCallback()
function open(walletName, errorText) {
+ isHidden = true
+ passphaseInput1.echoMode = TextInput.Password;
+ passphaseInput2.echoMode = TextInput.Password;
+
inactiveOverlay.visible = true
root.walletName = walletName ? walletName : ""
diff --git a/components/PasswordDialog.qml b/components/PasswordDialog.qml
index e292603b..a04974d0 100644
--- a/components/PasswordDialog.qml
+++ b/components/PasswordDialog.qml
@@ -55,6 +55,8 @@ Item {
signal closeCallback()
function open(walletName, errorText) {
+ isHidden = true
+ passwordInput.echoMode = TextInput.Password
passwordInput.text = ""
passwordInput.forceActiveFocus();
inactiveOverlay.visible = true // draw appwindow inactive