From 8431da8de0e8130aedc1ce134b45ba4f6dfb5d83 Mon Sep 17 00:00:00 2001 From: Mnikolenko ProductEngine Date: Tue, 30 Apr 2013 16:09:52 +0300 Subject: CHUI-953 FIXED Close conversation floater when quitting viewer --- indra/newview/llfloaterimcontainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp index 1bb2ce01e4..b88888da3b 100644 --- a/indra/newview/llfloaterimcontainer.cpp +++ b/indra/newview/llfloaterimcontainer.cpp @@ -2086,7 +2086,7 @@ void LLFloaterIMContainer::closeFloater(bool app_quitting/* = false*/) // Check for currently active session LLUUID session_id = getSelectedSession(); // If current session is Nearby Chat or there is only one session remaining, close the floater - if (mConversationsItems.size() == 1 || session_id == LLUUID()) + if (mConversationsItems.size() == 1 || session_id == LLUUID() || app_quitting) { onClickCloseBtn(); } -- cgit v1.2.3