mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 5 additions and 0 deletions
|
@ -60,6 +60,7 @@ Item {
|
||||||
checked: false
|
checked: false
|
||||||
id: showPassword
|
id: showPassword
|
||||||
onCheckedChanged: {
|
onCheckedChanged: {
|
||||||
|
console.log("changing password echoMode to " + (checked ? TextInput.Normal : TextInput.Password) + " was " + password.echoMode);
|
||||||
password.echoMode = checked ? TextInput.Normal : TextInput.Password
|
password.echoMode = checked ? TextInput.Normal : TextInput.Password
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -96,5 +97,9 @@ Item {
|
||||||
Item {
|
Item {
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
}
|
}
|
||||||
|
Component.onCompleted: {
|
||||||
|
console.log("password echoMode is " + password.echoMode);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue