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:
parent
c29fe7c7ba
commit
4c5fdab9e9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user