CHUI-892 : Fixed. restoreFloater() called when floater docked
parent
0af5b073e0
commit
5f89fe0b61
|
|
@ -1337,7 +1337,10 @@ void LLFloaterIMContainer::showConversation(const LLUUID& session_id)
|
|||
selectConversationPair(session_id, true);
|
||||
|
||||
LLFloaterIMSessionTab* session_floater = LLFloaterIMSessionTab::findConversation(session_id);
|
||||
session_floater->restoreFloater();
|
||||
if (session_floater)
|
||||
{
|
||||
session_floater->restoreFloater();
|
||||
}
|
||||
}
|
||||
|
||||
void LLFloaterIMContainer::clearAllFlashStates()
|
||||
|
|
|
|||
|
|
@ -874,7 +874,7 @@ void LLFloaterIMSessionTab::reshapeFloater(bool collapse)
|
|||
|
||||
void LLFloaterIMSessionTab::restoreFloater()
|
||||
{
|
||||
if(!isMessagePaneExpanded())
|
||||
if(checkIfTornOff() && !isMessagePaneExpanded())
|
||||
{
|
||||
if(isMinimized())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue