diff options
author | Callum Prentice <callum@lindenlab.com> | 2014-07-15 10:15:15 -0700 |
---|---|---|
committer | Callum Prentice <callum@lindenlab.com> | 2014-07-15 10:15:15 -0700 |
commit | edec2d0559905d33907380d0b304b9e28f74082e (patch) | |
tree | 8f66c497878a24b488039f54b04f03960fbb6c96 /indra/newview/llfloaterabout.cpp | |
parent | f11dd1d8a3dc4ba9a3c23563126e11ee971e219f (diff) | |
parent | 226929f8f5b8bc1080d0082b2595d689238df2b8 (diff) |
Merge with viewer-release
Diffstat (limited to 'indra/newview/llfloaterabout.cpp')
-rwxr-xr-x | indra/newview/llfloaterabout.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llfloaterabout.cpp b/indra/newview/llfloaterabout.cpp index 15b94034bb..66149a4367 100755 --- a/indra/newview/llfloaterabout.cpp +++ b/indra/newview/llfloaterabout.cpp @@ -143,7 +143,8 @@ BOOL LLFloaterAbout::postBuild() } else // not logged in { - setSupportText(LLStringUtil::null); + LL_DEBUGS("ViewerInfo") << "cannot display region info when not connected" << LL_ENDL; + setSupportText(LLTrans::getString("NotConnected")); } support_widget->blockUndo(); @@ -262,11 +263,10 @@ void LLFloaterAbout::setSupportText(const std::string& server_release_notes_url) LLViewerTextEditor *support_widget = getChild<LLViewerTextEditor>("support_editor", true); + LLUIColor about_color = LLUIColorTable::instance().getColor("TextFgReadOnlyColor"); support_widget->clear(); support_widget->appendText(LLAppViewer::instance()->getViewerInfoString(), - FALSE, - LLStyle::Params() - .color(LLUIColorTable::instance().getColor("TextFgReadOnlyColor"))); + FALSE, LLStyle::Params() .color(about_color)); } ///---------------------------------------------------------------------------- |