summaryrefslogtreecommitdiff
path: root/indra/newview/llimconversation.cpp
diff options
context:
space:
mode:
authorAlexanderP ProductEngine <apaschenko@productengine.com>2012-06-18 23:20:17 +0300
committerAlexanderP ProductEngine <apaschenko@productengine.com>2012-06-18 23:20:17 +0300
commit7edcbb1613d30f9fecf3ccbe342d45b7761f5b56 (patch)
treef9f12ff14ee04a5ec88c9f7ce6a13ab130b63d67 /indra/newview/llimconversation.cpp
parentbc5e0eda1b1b9c289734bebe6a533565aadfd3a2 (diff)
CHUI-100 WIP Fix translate chat checkbox showing
Diffstat (limited to 'indra/newview/llimconversation.cpp')
-rw-r--r--indra/newview/llimconversation.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llimconversation.cpp b/indra/newview/llimconversation.cpp
index 3e2b208874..ead87e3ed5 100644
--- a/indra/newview/llimconversation.cpp
+++ b/indra/newview/llimconversation.cpp
@@ -236,6 +236,13 @@ void LLIMConversation::updateHeaderAndToolbar()
mCloseBtn->setVisible(is_hosted);
enableDisableCallBtn();
+
+ showTranslationCheckbox();
+}
+
+void LLIMConversation::showTranslationCheckbox(BOOL show)
+{
+ getChild<LLUICtrl>("translate_chat_checkbox_lp")->setVisible(mIsNearbyChat? show : FALSE);
}
// static