EXP-1461 FIX Incoming Nearby chat not visible in chat toasts/bubbles to user when chat window is minimized with chat history opened
made minimizing and unminimizing nearby chat floater do the right thingmeow-7.2.2
parent
24ab1e3f54
commit
b0df4f1204
|
|
@ -399,6 +399,15 @@ void LLNearbyChatBar::onToggleNearbyChatPanel()
|
|||
}
|
||||
}
|
||||
|
||||
void LLNearbyChatBar::setMinimized(BOOL b)
|
||||
{
|
||||
if (b != LLFloater::isMinimized())
|
||||
{
|
||||
LLFloater::setMinimized(b);
|
||||
getChildView("nearby_chat")->setVisible(!b);
|
||||
}
|
||||
}
|
||||
|
||||
void LLNearbyChatBar::onChatBoxCommit()
|
||||
{
|
||||
if (mChatBox->getText().length() > 0)
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ public:
|
|||
static void sendChatFromViewer(const LLWString &wtext, EChatType type, BOOL animate);
|
||||
|
||||
void showHistory();
|
||||
/*virtual*/void setMinimized(BOOL b);
|
||||
|
||||
protected:
|
||||
static BOOL matchChatTypeTrigger(const std::string& in_str, std::string* out_str);
|
||||
|
|
|
|||
Loading…
Reference in New Issue