Fix validation text color violating skin colors

This commit is contained in:
Lirusaito
2019-03-03 21:19:11 -05:00
parent 9127b41923
commit 5e5dafac26

View File

@@ -859,6 +859,7 @@ void LLFloaterMarketplaceValidation::onOpen(/*const LLSD& key*/)
{
// Errors are printed in bold, other messages in normal font
LLStyleSP style(new LLStyle);
style->setColor(mEditor->getReadOnlyFgColor());
style->mBold = mCurrentLine->mErrorLevel == LLError::LEVEL_ERROR;
mEditor->appendText(mCurrentLine->mMessage, false, new_line, style);
new_line = true;