autofocus password on lockscreen
This commit is contained in:
parent
09e9522623
commit
ab8a5b9a3a
1 changed files with 9 additions and 0 deletions
|
|
@ -53,6 +53,14 @@ WlSessionLockSurface {
|
|||
}
|
||||
}
|
||||
|
||||
Connections {
|
||||
target: shade
|
||||
|
||||
function onSheetShownChanged() {
|
||||
if (!shade.sheetShown) input.forceActiveFocus();
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: info
|
||||
enabled: !shade.sheetShown
|
||||
|
|
@ -117,6 +125,7 @@ WlSessionLockSurface {
|
|||
leftMargin: 20
|
||||
rightMargin: 8
|
||||
}
|
||||
focus: true
|
||||
readOnly: surface.lock.checking
|
||||
echoMode: TextInput.Password
|
||||
passwordCharacter: "•"
|
||||
|
|
|
|||
Loading…
Reference in a new issue