diff options
author | Richard Linden <none@none> | 2012-01-23 17:50:15 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-01-23 17:50:15 -0800 |
commit | ff5fe4ffc06fa9220043d82a2d7d7dbc0b7ffd77 (patch) | |
tree | f6b31777ceb1a66c81aa7322687a9068fbd6a3b9 /indra/newview/llnearbychatbar.cpp | |
parent | ea6cbc7b6b1de051a9bb1c311c4399a2b4d42cb3 (diff) | |
parent | e09661f6ec467ea98715a2a04db40fc4e6b7ce02 (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience-merge
Diffstat (limited to 'indra/newview/llnearbychatbar.cpp')
-rw-r--r-- | indra/newview/llnearbychatbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llnearbychatbar.cpp b/indra/newview/llnearbychatbar.cpp index 4512c14b7a..b4224e30e6 100644 --- a/indra/newview/llnearbychatbar.cpp +++ b/indra/newview/llnearbychatbar.cpp @@ -124,7 +124,7 @@ BOOL LLNearbyChatBar::postBuild() // virtual void LLNearbyChatBar::onOpen(const LLSD& key) { - enableTranslationCheckbox(LLTranslate::isTranslationConfigured()); + showTranslationCheckbox(LLTranslate::isTranslationConfigured()); } bool LLNearbyChatBar::applyRectControl() @@ -170,9 +170,9 @@ void LLNearbyChatBar::showHistory() } } -void LLNearbyChatBar::enableTranslationCheckbox(BOOL enable) +void LLNearbyChatBar::showTranslationCheckbox(BOOL show) { - getChild<LLUICtrl>("translate_chat_checkbox")->setEnabled(enable); + getChild<LLUICtrl>("translate_chat_checkbox_lp")->setVisible(show); } void LLNearbyChatBar::draw() |