diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-06-11 21:04:35 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-20 21:47:32 -0400 |
commit | 03acced6d6c5b95c2272f8d3036a6295d048a4f5 (patch) | |
tree | 24284b957f5be6f1454ba62811d05e47ccd84fef /resources | |
parent | Clean up code (diff) | |
download | nheko-03acced6d6c5b95c2272f8d3036a6295d048a4f5.tar.xz |
Add close on Escape shortcut
Diffstat (limited to 'resources')
-rw-r--r-- | resources/qml/InviteDialog.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/qml/InviteDialog.qml b/resources/qml/InviteDialog.qml index d8e176e6..3470a7f1 100644 --- a/resources/qml/InviteDialog.qml +++ b/resources/qml/InviteDialog.qml @@ -34,6 +34,11 @@ ApplicationWindow { onActivated: inviteDialogRoot.accept() } + Shortcut { + sequence: StandardKey.Cancel + onActivated: inviteDialogRoot.close() + } + ColumnLayout { anchors.fill: parent anchors.margins: 10 |