diff options
author | Merov Linden <merov@lindenlab.com> | 2014-08-25 23:56:34 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-08-25 23:56:34 -0700 |
commit | d6defce1a1cad39c3a65e4ea1674f34c276d0aeb (patch) | |
tree | 424511f99069d685552e79ce1a2ab15318e8cb11 /indra/newview/llfloatermarketplacelistings.cpp | |
parent | 4d752d31aa7c86631bd12e9fdd5d37c541d78929 (diff) |
DD-19 : Print errors in bold, sort folders alphabetically, simplify log text when no errors
Diffstat (limited to 'indra/newview/llfloatermarketplacelistings.cpp')
-rwxr-xr-x | indra/newview/llfloatermarketplacelistings.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/newview/llfloatermarketplacelistings.cpp b/indra/newview/llfloatermarketplacelistings.cpp index 6ed7ae91b3..f92d1f3f54 100755 --- a/indra/newview/llfloatermarketplacelistings.cpp +++ b/indra/newview/llfloatermarketplacelistings.cpp @@ -641,7 +641,13 @@ void LLFloaterMarketplaceValidation::appendMessage(std::string& message, LLError { if (mEditor) { - mEditor->appendText(message, true); + // Errors are printed in bold, other messages in normal font + LLStyle::Params style; + LLFontDescriptor new_desc(mEditor->getFont()->getFontDesc()); + new_desc.setStyle(log_level == LLError::LEVEL_ERROR ? LLFontGL::BOLD : LLFontGL::NORMAL); + LLFontGL* new_font = LLFontGL::getFont(new_desc); + style.font = new_font; + mEditor->appendText(message, true, style); } } |