Fix the color fix pr when logs go downwards where it didn't add an \n because html doesn't like \n very much so it has to be <br> because that's what HTML does

yea
This commit is contained in:
Crystalwarrior 2020-07-08 00:02:17 +03:00
parent c29fe7c7ba
commit 4c5fdab9e9

View File

@ -2538,7 +2538,7 @@ void Courtroom::append_ic_text(QString p_text, QString p_name, QString p_action)
} }
else { else {
ui_ic_chatlog->textCursor().insertText(": ", normal); ui_ic_chatlog->textCursor().insertText(": ", normal);
ui_ic_chatlog->textCursor().insertHtml(p_text + '\n'); ui_ic_chatlog->textCursor().insertHtml(p_text + "<br>");
} }
// If we got too many blocks in the current log, delete some from the // If we got too many blocks in the current log, delete some from the