Add close on Escape shortcut

This commit is contained in:
Loren Burkholder 2021-06-11 21:04:35 -04:00
parent c566a62541
commit 03acced6d6

View file

@ -34,6 +34,11 @@ ApplicationWindow {
onActivated: inviteDialogRoot.accept()
}
Shortcut {
sequence: StandardKey.Cancel
onActivated: inviteDialogRoot.close()
}
ColumnLayout {
anchors.fill: parent
anchors.margins: 10