aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2020-07-08 00:02:17 +0300
committerCrystalwarrior <varsash@gmail.com>2020-07-08 00:02:17 +0300
commit4c5fdab9e97287cd2cb76f0c9893c0420caed837 (patch)
treea2d3d1155a4e59aa21cc8049462093ebf9c5645d
parentc29fe7c7ba234e1819f5b5fb566173b4a1831fa4 (diff)
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
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index 8f7e1b79..5b043c43 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().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