aboutsummaryrefslogtreecommitdiff
path: root/qml
diff options
context:
space:
mode:
authorlink2xt <link2xt@testrun.org>2021-05-31 09:49:33 +0300
committerlink2xt <link2xt@testrun.org>2021-05-31 09:49:33 +0300
commit8d571c5a5d32aae4803c3199586b824a5860cd13 (patch)
treecbb97ae25b5f51edd7aa9c36ce830b19882ea0f3 /qml
parentcb963ea6f2105790b028c597c4d4607b8bfbc276 (diff)
downloadkdeltachat-8d571c5a5d32aae4803c3199586b824a5860cd13.tar.gz
kdeltachat-8d571c5a5d32aae4803c3199586b824a5860cd13.zip
Reset draft after sending a message
Diffstat (limited to 'qml')
-rw-r--r--qml/ComposePane.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/qml/ComposePane.qml b/qml/ComposePane.qml
index 44cbd7c..0ca189d 100644
--- a/qml/ComposePane.qml
+++ b/qml/ComposePane.qml
@@ -48,6 +48,7 @@ Pane {
onClicked: {
chatPage.context.sendTextMessage(chatId, messageField.text)
messageField.text = ""
+ context.setDraft(chatId, null)
}
}
}