aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <Varsash@Gmail.com>2020-07-05 03:07:09 +0300
committerGitHub <noreply@github.com>2020-07-04 19:07:09 -0500
commitb12f82dc8cd1137586781e8142556a6c495a0c11 (patch)
tree83e4150ff85525dfbeefd313bc12aeab54680fa7 /src/courtroom.cpp
parent43419933e54c8ee22da7eb04630661bb10145b46 (diff)
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
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 55b851e3..9920b3bf 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -2538,7 +2538,7 @@ void Courtroom::append_ic_text(QString p_text, QString p_name, QString p_action)
}
else {
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