mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
qml: Use regular password field
But, as a consideration for users wanting to verify their password, add a 2s dwell time before the characters are masked. This timeout is prematurely terminated in the event that you enter another key.
This commit is contained in:
parent
9b15f7909b
commit
23eadf9afe
1 changed files with 2 additions and 1 deletions
|
@ -153,7 +153,8 @@ Window {
|
|||
}
|
||||
TextField {
|
||||
id: fieldUserPassword
|
||||
echoMode: TextInput.PasswordEchoOnEdit
|
||||
echoMode: TextInput.Password
|
||||
passwordMaskDelay: 2000 //ms
|
||||
Layout.minimumWidth: 200
|
||||
selectByMouse: true
|
||||
property bool alreadyCrypted: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue