From 85c93d0b9a48f808a57323464d747c7e25c5e978 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Thu, 27 Sep 2012 20:32:28 +0000 Subject: [PATCH] Fixed reply to a message with plaintext. The newlines remain unchanged. (investigated by braindead) git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5615 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/msgs/MessageComposer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/msgs/MessageComposer.cpp b/retroshare-gui/src/gui/msgs/MessageComposer.cpp index 5a183fa26..524470991 100644 --- a/retroshare-gui/src/gui/msgs/MessageComposer.cpp +++ b/retroshare-gui/src/gui/msgs/MessageComposer.cpp @@ -970,7 +970,7 @@ void MessageComposer::setQuotedMsg(const QString &msg, const QString &header) { ui.msgText->setUndoRedoEnabled(false); - ui.msgText->setHtml(msg); + ui.msgText->setText(msg); QTextBlock block = ui.msgText->document()->firstBlock(); while (block.isValid()) {