Merge pull request #594 from poixen/fix_green_text

Fixed green text issue
This commit is contained in:
Zach 2015-01-24 18:39:21 -05:00
commit 2850e9e9ad

View file

@ -221,7 +221,7 @@ void ChatView::appendMessage(QString message, QString sender, UserLevelFlags use
} }
if (!message.isEmpty()) if (!message.isEmpty())
cursor.insertText(message, defaultFormat); cursor.insertText(message);
if (atBottom) if (atBottom)
verticalScrollBar()->setValue(verticalScrollBar()->maximum()); verticalScrollBar()->setValue(verticalScrollBar()->maximum());