1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

Clear lock screen textbox on Escape key press (#1139)

This commit is contained in:
Aaron Tulino
2025-12-24 07:47:55 -07:00
committed by GitHub
parent 03fd3a4f16
commit 10e81cfdd3

View File

@@ -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;