diff options
Diffstat (limited to 'qml')
-rw-r--r-- | qml/Message.qml | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/qml/Message.qml b/qml/Message.qml index 15d4b09..f5ed398 100644 --- a/qml/Message.qml +++ b/qml/Message.qml @@ -200,6 +200,17 @@ RowLayout { text = messageObject.message.text } } + + Button { + text: "Show full message" + visible: messageObject.message.hasHtml + onPressed: { + htmlSheet.subject = messageObject.message.subject + htmlSheet.html = messageObject.context.getMessageHtml(messageObject.message.id) + htmlSheet.open() + } + } + RowLayout { Layout.alignment: Qt.AlignRight @@ -209,15 +220,6 @@ RowLayout { html: "" } - Button { - text: "Show full message" - visible: messageObject.message.hasHtml - onPressed: { - htmlSheet.subject = messageObject.message.subject - htmlSheet.html = messageObject.context.getMessageHtml(messageObject.message.id) - htmlSheet.open() - } - } Kirigami.Icon { source: "computer" |