summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-07-24 18:38:22 -0400
committerLoren Burkholder <computersemiexpert@outlook.com>2021-07-29 21:07:52 -0400
commit9dc9152e075804200158a1f6c6fb8f6e10961221 (patch)
treed8cc71291d4811af13307619d3cbe313dfa5c803 /resources
parentDynamically update read receipts (diff)
downloadnheko-9dc9152e075804200158a1f6c6fb8f6e10961221.tar.xz
Close dialog on escape
Diffstat (limited to '')
-rw-r--r--resources/qml/ReadReceipts.qml5
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