summary refs log tree commit diff
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-06-11 21:04:35 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-20 21:47:32 -0400
commit03acced6d6c5b95c2272f8d3036a6295d048a4f5 (patch)
tree24284b957f5be6f1454ba62811d05e47ccd84fef
parentClean up code (diff)
downloadnheko-03acced6d6c5b95c2272f8d3036a6295d048a4f5.tar.xz
Add close on Escape shortcut
-rw-r--r--resources/qml/InviteDialog.qml5
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