aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop/Settings.qml7
1 files changed, 7 insertions, 0 deletions
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