From 69ff191c83e5277cfe22d3735e9ac2f0256be3c5 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 29 May 2021 23:40:34 +0300 Subject: Implement message drafts --- qml/Message.qml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'qml/Message.qml') diff --git a/qml/Message.qml b/qml/Message.qml index fdd895a..68b2979 100644 --- a/qml/Message.qml +++ b/qml/Message.qml @@ -161,13 +161,16 @@ RowLayout { // Message TextEdit { Layout.maximumWidth: messageObject.width > 30 ? messageObject.width - 30 : messageObject.width - text: messageObject.message.text textFormat: Text.PlainText selectByMouse: true readOnly: true color: "black" wrapMode: Text.Wrap font.pixelSize: 14 + + Component.onCompleted: { + text = messageObject.message.text + } } Row { HtmlViewSheet { -- cgit v1.2.3-70-g09d2