mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
properly reset cursor block format in FriendsDialog (Patch from phenom)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7721 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d164428bf9
commit
f511786a6a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user