mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-28 14:07:47 -04:00
Clear lock screen textbox on Escape key press (#1139)
This commit is contained in:
1 parent
03fd3a4f16
commit
10e81cfdd3
1 file changed
+4
@@ -470,6 +470,10 @@ Item {
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.key === Qt.Key_Escape) {
|
||||
clear();
|
||||
}
|
||||
|
||||
if (pam.passwd.active) {
|
||||
console.log("PAM is active, ignoring input");
|
||||
event.accepted = true;
|
||||
|
||||
Reference in new issue
Block a user