QML UI: add debug output for echoMode
For some users by default the password characters aren't hidden. Maybe the debugging output will help us understand what's going on. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
97c23d6ee5
commit
81999e4667
@ -60,6 +60,7 @@ Item {
|
||||
checked: false
|
||||
id: showPassword
|
||||
onCheckedChanged: {
|
||||
console.log("changing password echoMode to " + (checked ? TextInput.Normal : TextInput.Password) + " was " + password.echoMode);
|
||||
password.echoMode = checked ? TextInput.Normal : TextInput.Password
|
||||
}
|
||||
}
|
||||
@ -96,5 +97,9 @@ Item {
|
||||
Item {
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
Component.onCompleted: {
|
||||
console.log("password echoMode is " + password.echoMode);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user