summary refs log tree commit diff
path: root/resources/qml/MessageInput.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-25 00:50:17 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-25 00:50:17 +0100
commit345dc1e61fa51764fb4897903cf6be7579d66558 (patch)
tree9790c2a38b993abf7e7d2f0726587166c20bc30c /resources/qml/MessageInput.qml
parentAllow editing via up and down arrows (diff)
downloadnheko-345dc1e61fa51764fb4897903cf6be7579d66558.tar.xz
Fix text input restoring after edits
Diffstat (limited to 'resources/qml/MessageInput.qml')
-rw-r--r--resources/qml/MessageInput.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/resources/qml/MessageInput.qml b/resources/qml/MessageInput.qml
index 9bb01471..5a543ac9 100644
--- a/resources/qml/MessageInput.qml
+++ b/resources/qml/MessageInput.qml
@@ -177,7 +177,6 @@ Rectangle {
                             }
                         }
                         TimelineManager.timeline.input.send();
-                        messageInput.clear();
                         event.accepted = true;
                     } else if (event.key == Qt.Key_Tab) {
                         event.accepted = true;
@@ -334,7 +333,6 @@ Rectangle {
             ToolTip.text: qsTr("Send")
             onClicked: {
                 TimelineManager.timeline.input.send();
-                messageInput.clear();
             }
         }