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
This commit is contained in:
thunder2 2012-09-27 20:32:28 +00:00
parent 584a5dc757
commit 85c93d0b9a

View File

@ -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()) {