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:
@@ -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
|
||||||
|
|||||||
@@ -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": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user