1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-25 05:52:50 -05:00

notification: fix closing popout from escape

fixes #953
This commit is contained in:
bbedward
2025-12-08 20:46:22 -05:00
parent 37a843323d
commit f3276c3039

View File

@@ -138,7 +138,7 @@ DankPopout {
Keys.onPressed: event => {
if (event.key === Qt.Key_Escape) {
root.close();
notificationHistoryVisible = false;
event.accepted = true;
} else if (externalKeyboardController) {
externalKeyboardController.handleKey(event);