From fb7761bda4f7471118ae94cb8c3bebd8d4f26a0b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 17 Oct 2026 10:21:18 +0200 Subject: settings: Ctrl+Q closes the window A window-wide Shortcut rather than a Keys handler, so it works with the focus in a field, where Escape is taken first. Co-Authored-By: Claude Opus 5.5 --- desktop/Settings.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/desktop/Settings.qml b/desktop/Settings.qml index 986ec26..e8895a4 100644 --- a/desktop/Settings.qml +++ b/desktop/Settings.qml @@ -93,6 +93,13 @@ Scope { color: Theme.base onClosed: root.close() + // Window-wide, so it works with the focus in any field, unlike + // Escape, which a field may take first. + Shortcut { + sequence: "Ctrl+Q" + onActivated: root.close() + } + Item { anchors.fill: parent focus: true -- cgit v1.2.3