From 4c5fdab9e97287cd2cb76f0c9893c0420caed837 Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Wed, 8 Jul 2020 00:02:17 +0300 Subject: [PATCH] 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
because that's what HTML does yea --- src/courtroom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 8f7e1b7..5b043c4 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 + "
"); } // If we got too many blocks in the current log, delete some from the