CHUI-983 FIXED Call showHistory() after clicking toast as it was before. Minor change in showHistory()
parent
bc329098a7
commit
9da29e2ccc
|
|
@ -323,12 +323,11 @@ BOOL LLFloaterIMNearbyChatToastPanel::handleMouseUp (S32 x, S32 y, MASK mask)
|
|||
return TRUE;
|
||||
else
|
||||
{
|
||||
LLFloaterReg::toggleInstanceOrBringToFront("nearby_chat");
|
||||
LLFloaterReg::getTypedInstance<LLFloaterIMNearbyChat>("nearby_chat")->showHistory();
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
LLFloaterReg::toggleInstanceOrBringToFront("nearby_chat");
|
||||
LLFloaterReg::getTypedInstance<LLFloaterIMNearbyChat>("nearby_chat")->showHistory();
|
||||
return LLPanel::handleMouseUp(x,y,mask);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -350,11 +350,17 @@ bool LLFloaterIMNearbyChat::isChatVisible() const
|
|||
void LLFloaterIMNearbyChat::showHistory()
|
||||
{
|
||||
openFloater();
|
||||
LLFloaterIMContainer::getInstance()->selectConversation(LLUUID(NULL));
|
||||
|
||||
if(!isMessagePaneExpanded())
|
||||
{
|
||||
restoreFloater();
|
||||
setFocus(true);
|
||||
}
|
||||
else
|
||||
{
|
||||
LLFloaterIMContainer::getInstance()->setFocus(TRUE);
|
||||
}
|
||||
setResizeLimits(getMinWidth(), EXPANDED_MIN_HEIGHT);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue