diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-07 11:05:08 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-07 11:05:08 +0200 |
commit | 21da50cd64337990186fa3aca7630c523714e90f (patch) | |
tree | 5f894f0474fbe2a65e08b619ebde1767d98d232b | |
parent | eff261bd9bdb4a5c1874dcd1ee22d469f102b8c2 (diff) | |
download | kube-21da50cd64337990186fa3aca7630c523714e90f.tar.gz kube-21da50cd64337990186fa3aca7630c523714e90f.zip |
Limit content size in debug view to something we can manage
-rw-r--r-- | framework/qml/MailViewer.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qml/MailViewer.qml b/framework/qml/MailViewer.qml index e9759d72..ef0cfa78 100644 --- a/framework/qml/MailViewer.qml +++ b/framework/qml/MailViewer.qml | |||
@@ -454,7 +454,7 @@ Rectangle { | |||
454 | textFormat: TextEdit.PlainText | 454 | textFormat: TextEdit.PlainText |
455 | wrapMode: TextEdit.Wrap | 455 | wrapMode: TextEdit.Wrap |
456 | height: implicitHeight | 456 | height: implicitHeight |
457 | text: messageParser.rawContent | 457 | text: messageParser.rawContent.substring(0, 100000) //The TextEdit deals poorly with messages that are too large. |
458 | } | 458 | } |
459 | Rectangle { | 459 | Rectangle { |
460 | color: "black" | 460 | color: "black" |