Close dialog on escape

This commit is contained in:
Loren Burkholder 2021-07-24 18:38:22 -04:00
parent 2fe010c04a
commit 9dc9152e07
1 changed files with 5 additions and 0 deletions

View File

@ -21,6 +21,11 @@ ApplicationWindow {
palette: Nheko.colors palette: Nheko.colors
color: Nheko.colors.window color: Nheko.colors.window
Shortcut {
sequence: StandardKey.Cancel
onActivated: readReceiptsRoot.close()
}
ColumnLayout { ColumnLayout {
anchors.fill: parent anchors.fill: parent
anchors.margins: Nheko.paddingMedium anchors.margins: Nheko.paddingMedium