diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-04-25 13:14:36 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-04-25 13:14:36 -0500 |
| commit | f37a17581e07a428107a9e7d1620a551c921b4c7 (patch) | |
| tree | 1d0e002c04040405c892c33c48bf0ada186dafb2 /components | |
| parent | 8fd8bdcb2fa7efd32e69da8cf5fd18514e52e88d (diff) | |
| parent | 24e7307a934460cf18d9799dbfda7980580c3b6c (diff) | |
| download | monzero-gui-f37a17581e07a428107a9e7d1620a551c921b4c7.tar.gz monzero-gui-f37a17581e07a428107a9e7d1620a551c921b4c7.tar.xz monzero-gui-f37a17581e07a428107a9e7d1620a551c921b4c7.zip | |
Merge pull request #2111
24e7307 components: hide password on dialog opening (selsta)
Diffstat (limited to 'components')
| -rw-r--r-- | components/NewPasswordDialog.qml | 3 | ||||
| -rw-r--r-- | components/PassphraseDialog.qml | 4 | ||||
| -rw-r--r-- | components/PasswordDialog.qml | 2 |
3 files changed, 9 insertions, 0 deletions
diff --git a/components/NewPasswordDialog.qml b/components/NewPasswordDialog.qml index bb987fe9..ecf394b0 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 1a41d5db..704c6c3c 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 eed71fa4..e9b06546 100644 --- a/components/PasswordDialog.qml +++ b/components/PasswordDialog.qml @@ -56,6 +56,8 @@ Item { signal closeCallback() function open(walletName, errorText) { + isHidden = true + passwordInput.echoMode = TextInput.Password passwordInput.text = "" passwordInput.forceActiveFocus(); inactiveOverlay.visible = true // draw appwindow inactive |
