diff options
| author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2013-09-12 17:26:13 +0300 | 
|---|---|---|
| committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2013-09-12 17:26:13 +0300 | 
| commit | 2a93275a2b73c0710fc21923212766d26509ea28 (patch) | |
| tree | 771ef8aea305e053ac1ea3d672c9cfccbd37cd75 | |
| parent | 186113144e950adf78eaf452d76d3a59b6af2974 (diff) | |
MAINT-3137 FIXED We should handle condition when viewer is quitting
| -rwxr-xr-x | indra/newview/llfloaterimcontainer.cpp | 6 | ||||
| -rwxr-xr-x | indra/newview/llfloaterimcontainer.h | 2 | 
2 files changed, 4 insertions, 4 deletions
| diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp index 836a455a67..2b4585cc47 100755 --- a/indra/newview/llfloaterimcontainer.cpp +++ b/indra/newview/llfloaterimcontainer.cpp @@ -2098,7 +2098,7 @@ BOOL LLFloaterIMContainer::isFrontmost()  // For conversations, closeFloater() (linked to Ctrl-W) does not actually close the floater but the active conversation.  // This is intentional so it doesn't confuse the user. onClickCloseBtn() closes the whole floater. -void LLFloaterIMContainer::onClickCloseBtn() +void LLFloaterIMContainer::onClickCloseBtn(bool app_quitting/* = false*/)  {  	// Always unminimize before trying to close.  	// Most of the time the user will never see this state. @@ -2107,7 +2107,7 @@ void LLFloaterIMContainer::onClickCloseBtn()  		LLMultiFloater::setMinimized(FALSE);  	} -	LLFloater::closeFloater(); +	LLFloater::closeFloater(app_quitting);  }  void LLFloaterIMContainer::closeHostedFloater() @@ -2154,7 +2154,7 @@ void LLFloaterIMContainer::closeFloater(bool app_quitting/* = false*/)  	if(app_quitting)  	{  		closeAllConversations(); -		onClickCloseBtn(); +		onClickCloseBtn(app_quitting);  	}  	else  	{ diff --git a/indra/newview/llfloaterimcontainer.h b/indra/newview/llfloaterimcontainer.h index 36da457cac..a118ab51d2 100755 --- a/indra/newview/llfloaterimcontainer.h +++ b/indra/newview/llfloaterimcontainer.h @@ -134,7 +134,7 @@ private:  	void onStubCollapseButtonClicked();  	void processParticipantsStyleUpdate();  	void onSpeakButtonClicked(); -	/*virtual*/ void onClickCloseBtn(); +	/*virtual*/ void onClickCloseBtn(bool app_quitting = false);  	/*virtual*/ void closeHostedFloater();  	void collapseConversationsPane(bool collapse, bool save_is_allowed=true); | 
