Make chat loaded from log file be in LogChatColor instead of hardcoded grey

This commit is contained in:
Liru Færs
2019-11-16 10:02:01 -05:00
parent fc649854ff
commit 78fbc214ca
3 changed files with 20 additions and 2 deletions

View File

@@ -1670,7 +1670,7 @@ void LLFloaterIMPanel::chatFromLogFile(LLLogChat::ELogLineType type, std::string
}
//self->addHistoryLine(line, LLColor4::grey, FALSE);
LLStyleSP style(new LLStyle(gSavedSettings.getColor4("SystemChatColor")));
LLStyleSP style(new LLStyle(true, gSavedSettings.getColor4("LogChatColor"), LLStringUtil::null));
self->mHistoryEditor->appendText(message, false, true, style, false);
}