mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 07:52:50 -05:00
Clear lock screen textbox on Escape key press (#1139)
This commit is contained in:
@@ -470,6 +470,10 @@ Item {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (event.key === Qt.Key_Escape) {
|
||||||
|
clear();
|
||||||
|
}
|
||||||
|
|
||||||
if (pam.passwd.active) {
|
if (pam.passwd.active) {
|
||||||
console.log("PAM is active, ignoring input");
|
console.log("PAM is active, ignoring input");
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user