diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-10 18:00:52 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-10 18:00:52 +0100 |
commit | 2a5e20dc6ff331b42d5dce99ee45ce19c5b60b56 (patch) | |
tree | 0889b18eb234f039332c667cd129b275adae050f /resources/qml/MessageView.qml | |
parent | Update translations (diff) | |
download | nheko-2a5e20dc6ff331b42d5dce99ee45ce19c5b60b56.tar.xz |
Fix cancel edit order on Escape key
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r-- | resources/qml/MessageView.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml index 09dc4e36..13b4c82c 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml @@ -50,10 +50,10 @@ ListView { Shortcut { sequence: StandardKey.Cancel onActivated: { - if (chat.model.edit) - chat.model.edit = undefined; - else + if (chat.model.reply) chat.model.reply = undefined; + else + chat.model.edit = undefined; } } |