aboutsummaryrefslogtreecommitdiff
path: root/components/PasswordDialog.qml
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-04-24 14:14:36 +0200
committerselsta <selsta@sent.at>2019-04-24 14:14:36 +0200
commit24e7307a934460cf18d9799dbfda7980580c3b6c (patch)
treeda6f28da75f3e4792e6d125ec441ac89602bdfaf /components/PasswordDialog.qml
parent358e1d23facbd10fefbb2bf04c45b98f0c728ad0 (diff)
downloadmonzero-gui-24e7307a934460cf18d9799dbfda7980580c3b6c.tar.gz
monzero-gui-24e7307a934460cf18d9799dbfda7980580c3b6c.tar.xz
monzero-gui-24e7307a934460cf18d9799dbfda7980580c3b6c.zip
components: hide password on dialog opening
Diffstat (limited to 'components/PasswordDialog.qml')
-rw-r--r--components/PasswordDialog.qml2
1 files changed, 2 insertions, 0 deletions
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