Fix html not being parsed in ic logs when ic logs go downwards (#178)

I found this bug like 3 weeks ago but I forgot to actually make a PR for it oops
This commit is contained in:
Crystalwarrior 2020-07-05 03:07:09 +03:00 committed by GitHub
parent 43419933e5
commit b12f82dc8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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().insertText(p_text + '\n', normal); ui_ic_chatlog->textCursor().insertHtml(p_text + '\n');
} }
// 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