mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 14:43:09 +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,6 +83,12 @@ Rectangle {
|
||||||
passwordBar.keyPress(event.text);
|
passwordBar.keyPress(event.text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (event.modifiers & Qt.ControlModifier) {
|
||||||
|
if (event.key === Qt.Key_Backspace) {
|
||||||
|
passwordBar.clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
RectangularGlow {
|
RectangularGlow {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue