diff options
author | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-24 18:38:22 -0400 |
---|---|---|
committer | Loren Burkholder <computersemiexpert@outlook.com> | 2021-07-29 21:07:52 -0400 |
commit | 9dc9152e075804200158a1f6c6fb8f6e10961221 (patch) | |
tree | d8cc71291d4811af13307619d3cbe313dfa5c803 /resources/qml | |
parent | Dynamically update read receipts (diff) | |
download | nheko-9dc9152e075804200158a1f6c6fb8f6e10961221.tar.xz |
Close dialog on escape
Diffstat (limited to 'resources/qml')
-rw-r--r-- | resources/qml/ReadReceipts.qml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/qml/ReadReceipts.qml b/resources/qml/ReadReceipts.qml index 0756a2e7..da2a5f66 100644 --- a/resources/qml/ReadReceipts.qml +++ b/resources/qml/ReadReceipts.qml @@ -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 |