From 2989ba081341d01231bbf2efebd45b0d03958dd7 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 7 May 2018 11:05:47 +0200 Subject: Made structure available in debug view --- framework/qml/MailViewer.qml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'framework/qml') diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml index ef0cfa78..d18ed8e6 100644 --- a/framework/qml/MailViewer.qml +++ b/framework/qml/MailViewer.qml @@ -446,6 +446,17 @@ Rectangle { width: flickable.width height: childrenRect.height + TextEdit { + id: structure + width: parent.width + readOnly: true + selectByMouse: true + textFormat: TextEdit.PlainText + wrapMode: TextEdit.Wrap + height: implicitHeight + text: messageParser.structureAsString + } + TextEdit { id: rawContent width: parent.width -- cgit v1.2.3