mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 22:33:08 +00:00
lockscreen: Support clearing the password with ctrl+backspace
This commit is contained in:
parent
21f28c6ae8
commit
04e1cc1d58
1 changed files with 7 additions and 1 deletions
|
|
@ -83,8 +83,14 @@ Rectangle {
|
|||
passwordBar.keyPress(event.text);
|
||||
}
|
||||
}
|
||||
|
||||
if (event.modifiers & Qt.ControlModifier) {
|
||||
if (event.key === Qt.Key_Backspace) {
|
||||
passwordBar.clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
RectangularGlow {
|
||||
anchors.topMargin: 1
|
||||
anchors.fill: passwordBar
|
||||
|
|
|
|||
Loading…
Reference in a new issue