Fixed edit of a message with plaintext. The newlines remain unchanged.

(investigated by braindead)

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5625 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-09-30 16:20:38 +00:00
parent e7ff4bbab8
commit a24f7b5134

View File

@ -870,7 +870,7 @@ MessageComposer *MessageComposer::newMsg(const std::string &msgId /* = ""*/)
msgComposer->msgFlags = (msgInfo.msgflags & RS_MSG_SYSTEM); msgComposer->msgFlags = (msgInfo.msgflags & RS_MSG_SYSTEM);
msgComposer->setTitleText(QString::fromStdWString(msgInfo.title)); msgComposer->setTitleText(QString::fromStdWString(msgInfo.title));
msgComposer->setMsgText(QString::fromStdWString(msgInfo.msg), true); msgComposer->setMsgText(QString::fromStdWString(msgInfo.msg));
msgComposer->setFileList(msgInfo.files); msgComposer->setFileList(msgInfo.files);
// get existing groups // get existing groups