1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 15:02: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 id: rootScope
anchors.fill: parent anchors.fill: parent
Keys.onEscapePressed: event => {
settingsModal.hide()
event.accepted = true
}
Column { Column {
anchors.fill: parent anchors.fill: parent
anchors.leftMargin: Theme.spacingL anchors.leftMargin: Theme.spacingL

View File

@@ -3260,7 +3260,7 @@
{ {
"term": "Settings", "term": "Settings",
"context": "Settings", "context": "Settings",
"reference": "Services/AppSearchService.qml:176, Modals/Settings/SettingsModal.qml:200, Modules/DankDash/DankDashPopout.qml:249", "reference": "Services/AppSearchService.qml:176, Modals/Settings/SettingsModal.qml:205, Modules/DankDash/DankDashPopout.qml:249",
"comment": "" "comment": ""
}, },
{ {