CHUI-608 (Conversations floater can be resized too small once a conversation is torn off)
parent
3d83fc3da5
commit
4d971c4351
|
|
@ -605,6 +605,12 @@ void LLFloaterIMContainer::setVisible(BOOL visible)
|
|||
LLMultiFloater::setVisible(visible);
|
||||
}
|
||||
|
||||
void LLFloaterIMContainer::updateResizeLimits()
|
||||
{
|
||||
LLMultiFloater::updateResizeLimits();
|
||||
assignResizeLimits();
|
||||
}
|
||||
|
||||
void LLFloaterIMContainer::collapseMessagesPane(bool collapse)
|
||||
{
|
||||
if (mMessagesPane->isCollapsed() == collapse)
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ public:
|
|||
/*virtual*/ void onOpen(const LLSD& key);
|
||||
/*virtual*/ void draw();
|
||||
/*virtual*/ void setVisible(BOOL visible);
|
||||
/*virtual*/ void updateResizeLimits();
|
||||
void onCloseFloater(LLUUID& id);
|
||||
|
||||
/*virtual*/ void addFloater(LLFloater* floaterp,
|
||||
|
|
|
|||
|
|
@ -751,11 +751,6 @@ void LLFloaterIMSessionTab::onTearOffClicked()
|
|||
{
|
||||
forceReshape();
|
||||
}
|
||||
LLFloaterIMContainer* container = LLFloaterIMContainer::getInstance();
|
||||
if (container)
|
||||
{
|
||||
container->assignResizeLimits();
|
||||
}
|
||||
refreshConversation();
|
||||
updateGearBtn();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue