diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-10 14:32:16 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-02-10 14:32:16 +0100 |
commit | a62276c28933986907022662cea965cf6269eb5e (patch) | |
tree | fccd88c7244b56de35a4452c902cb85944b33482 /resources/qml/MessageView.qml | |
parent | Merge pull request #420 from Nheko-Reborn/render-edits (diff) | |
download | nheko-a62276c28933986907022662cea965cf6269eb5e.tar.xz |
Fix UI allowing edits of foreign messages in some cases
Diffstat (limited to 'resources/qml/MessageView.qml')
-rw-r--r-- | resources/qml/MessageView.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/qml/MessageView.qml b/resources/qml/MessageView.qml index 0f058830..50e051ab 100644 --- a/resources/qml/MessageView.qml +++ b/resources/qml/MessageView.qml @@ -73,7 +73,9 @@ ListView { Shortcut { sequence: "Ctrl+E" - onActivated: chat.model.edit = chat.model.reply + onActivated: { + chat.model.edit = chat.model.reply; + } } Component { |