diff --git a/retroshare-gui/src/gui/FriendsDialog.cpp b/retroshare-gui/src/gui/FriendsDialog.cpp index e8d083ae6..7b614464e 100644 --- a/retroshare-gui/src/gui/FriendsDialog.cpp +++ b/retroshare-gui/src/gui/FriendsDialog.cpp @@ -482,6 +482,7 @@ void FriendsDialog::addChatMsg(bool incoming, bool history, const QString &name, QString formattedMessage = RsHtml().formatText(ui.msgText->document(), message, formatTextFlag, backgroundColor, desiredContrast); QString formatMsg = style.formatMessage(type, name, incoming ? recvTime : sendTime, formattedMessage); + ui.msgText->textCursor().setBlockFormat(QTextBlockFormat ()); ui.msgText->append(formatMsg); }