summary refs log tree commit diff
path: root/resources/qml/UserProfile.qml
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-01-29 18:18:39 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-01-29 18:29:38 -0500
commit58dc79074c3fc8f94857af128c1021486deb22e2 (patch)
tree2e7a7f6fd1deac1b67d4f815bacbabf326169b97 /resources/qml/UserProfile.qml
parentmake lint (diff)
downloadnheko-58dc79074c3fc8f94857af128c1021486deb22e2.tar.xz
Close user profile dialog on Esc
Diffstat (limited to '')
-rw-r--r--resources/qml/UserProfile.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/qml/UserProfile.qml b/resources/qml/UserProfile.qml
index fce6e6ff..a1fbfa41 100644
--- a/resources/qml/UserProfile.qml
+++ b/resources/qml/UserProfile.qml
@@ -18,6 +18,11 @@ ApplicationWindow {
     palette: colors
     color: colors.window
 
+    Shortcut {
+        sequence: StandardKey.Cancel
+        onActivated: userProfileDialog.close()
+    }
+
     ColumnLayout {
         id: contentL