Rest of the fix for FIRE-3885 (Show or hide ui if in support group chat)
parent
6d9ffad9a5
commit
36abcc2e46
|
|
@ -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<LLChatHistory>("chat_history");
|
||||
|
||||
LLCheckBoxCtrl* FSPrefixBox = getChild<LLCheckBoxCtrl>("FSSupportGroupChatPrefix_toggle");
|
||||
FSPrefixBox->setVisible(FSData::getInstance()->isSupportGroup(mSessionID));
|
||||
|
||||
setDocked(true);
|
||||
|
||||
mTypingStart = LLTrans::getString("IM_typing_start_string");
|
||||
|
|
|
|||
Loading…
Reference in New Issue