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

settings: fix escape key

This commit is contained in:
bbedward
2025-11-10 17:12:37 -05:00
parent 7abc76e92c
commit 37a10bd453
2 changed files with 6 additions and 1 deletions

View File

@@ -172,6 +172,11 @@ DankModal {
id: rootScope
anchors.fill: parent
Keys.onEscapePressed: event => {
settingsModal.hide()
event.accepted = true
}
Column {
anchors.fill: parent
anchors.leftMargin: Theme.spacingL