From 36abcc2e46c6cbf07120b54a6876a0af4199884a Mon Sep 17 00:00:00 2001 From: "LGG@LGG-LAPPY" Date: Fri, 18 Nov 2011 05:30:11 -0600 Subject: [PATCH] Rest of the fix for FIRE-3885 (Show or hide ui if in support group chat) --- indra/newview/llimfloater.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp index 54ff6e9985..a09f9544c5 100644 --- a/indra/newview/llimfloater.cpp +++ b/indra/newview/llimfloater.cpp @@ -71,6 +71,7 @@ //TL: for support group chat prefix #include "fsdata.h" #include "llversioninfo.h" +#include "llcheckboxctrl.h" static const S32 RECT_PADDING_NOT_INIT = -1; static const S32 RECT_PADDING_NEED_RECALC = -2; @@ -805,6 +806,9 @@ BOOL LLIMFloater::postBuild() mChatHistory = getChild("chat_history"); + LLCheckBoxCtrl* FSPrefixBox = getChild("FSSupportGroupChatPrefix_toggle"); + FSPrefixBox->setVisible(FSData::getInstance()->isSupportGroup(mSessionID)); + setDocked(true); mTypingStart = LLTrans::getString("IM_typing_start_string");