diff options
| -rw-r--r-- | indra/newview/llfloaterimcontainer.cpp | 3 | ||||
| -rw-r--r-- | indra/newview/llfloaterimsessiontab.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/llfloaterimsessiontab.h | 2 | 
3 files changed, 8 insertions, 1 deletions
| diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp index 2fd8901d9e..5e0cd8ef78 100644 --- a/indra/newview/llfloaterimcontainer.cpp +++ b/indra/newview/llfloaterimcontainer.cpp @@ -1329,6 +1329,9 @@ void LLFloaterIMContainer::showConversation(const LLUUID& session_id)  {      setVisibleAndFrontmost(false);      selectConversationPair(session_id, true); + +    LLFloaterIMSessionTab* session_floater = LLFloaterIMSessionTab::findConversation(session_id); +    session_floater->restoreFloater();  }  void LLFloaterIMContainer::clearAllFlashStates() diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp index 4ae00fcd5f..5df1a382cd 100644 --- a/indra/newview/llfloaterimsessiontab.cpp +++ b/indra/newview/llfloaterimsessiontab.cpp @@ -838,6 +838,10 @@ void LLFloaterIMSessionTab::restoreFloater()  {  	if(!isMessagePaneExpanded())  	{ +		if(isMinimized()) +		{ +			setMinimized(false); +		}  		mContentPanel->setVisible(true);  		mToolbarPanel->setVisible(true);  		LLRect floater_rect = getRect(); diff --git a/indra/newview/llfloaterimsessiontab.h b/indra/newview/llfloaterimsessiontab.h index e41f639037..f22e2b5744 100644 --- a/indra/newview/llfloaterimsessiontab.h +++ b/indra/newview/llfloaterimsessiontab.h @@ -100,6 +100,7 @@ public:  	virtual BOOL handleKeyHere( KEY key, MASK mask );  	bool isMessagePaneExpanded(){return mMessagePaneExpanded;}  	void setMessagePaneExpanded(bool expanded){mMessagePaneExpanded = expanded;} +	void restoreFloater();  protected: @@ -115,7 +116,6 @@ protected:  	static void onSlide(LLFloaterIMSessionTab *self);  	static void onCollapseToLine(LLFloaterIMSessionTab *self);  	void reshapeFloater(bool collapse); -	void restoreFloater();  	// refresh a visual state of the Call button  	void updateCallBtnState(bool callIsActive); | 
