mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
584a5dc757
commit
85c93d0b9a
@ -970,7 +970,7 @@ void MessageComposer::setQuotedMsg(const QString &msg, const QString &header)
|
|||||||
{
|
{
|
||||||
ui.msgText->setUndoRedoEnabled(false);
|
ui.msgText->setUndoRedoEnabled(false);
|
||||||
|
|
||||||
ui.msgText->setHtml(msg);
|
ui.msgText->setText(msg);
|
||||||
|
|
||||||
QTextBlock block = ui.msgText->document()->firstBlock();
|
QTextBlock block = ui.msgText->document()->firstBlock();
|
||||||
while (block.isValid()) {
|
while (block.isValid()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user