aboutsummaryrefslogtreecommitdiff
path: root/qml/ComposePane.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/ComposePane.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)
}
}
}