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 {
|
ColumnLayout {
|
||||||
id: info
|
id: info
|
||||||
enabled: !shade.sheetShown
|
enabled: !shade.sheetShown
|
||||||
|
|
@ -117,6 +125,7 @@ WlSessionLockSurface {
|
||||||
leftMargin: 20
|
leftMargin: 20
|
||||||
rightMargin: 8
|
rightMargin: 8
|
||||||
}
|
}
|
||||||
|
focus: true
|
||||||
readOnly: surface.lock.checking
|
readOnly: surface.lock.checking
|
||||||
echoMode: TextInput.Password
|
echoMode: TextInput.Password
|
||||||
passwordCharacter: "•"
|
passwordCharacter: "•"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue