Close dialog on escape

This commit is contained in:
Loren Burkholder 2021-07-24 18:38:22 -04:00
parent 2fe010c04a
commit 9dc9152e07

View file

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