1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-04 04:42:05 -04:00

keybinds: fix escape in keybinds modal

This commit is contained in:
bbedward
2026-02-18 14:57:34 -05:00
parent 0286a1b80b
commit f8350deafc

View File

@@ -91,7 +91,12 @@ DankModal {
id: searchField
Layout.alignment: Qt.AlignRight
leftIconName: "search"
keyForwardTargets: [root.modalFocusScope]
onTextEdited: searchDebounce.restart()
Keys.onEscapePressed: event => {
root.close();
event.accepted = true;
}
}
}