summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimcontainer.cpp
diff options
context:
space:
mode:
authormberezhnoy <mberezhnoy@productengine.com>2013-05-29 19:04:02 +0300
committermberezhnoy <mberezhnoy@productengine.com>2013-05-29 19:04:02 +0300
commit773a296383ebad29ad3f7a618405535e306d71b1 (patch)
treed1963e57cf474fe8943f1ea1b98b9d4a9a87b3d5 /indra/newview/llfloaterimcontainer.cpp
parentef69d31b993fe849526799f225dd0eda12c82dab (diff)
CHUI-915 ([CHUIBUG]Control+W hides Conversations floater instead of closing active tab)
Diffstat (limited to 'indra/newview/llfloaterimcontainer.cpp')
-rwxr-xr-xindra/newview/llfloaterimcontainer.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp
index 4bfb19ce36..3783ae60e7 100755
--- a/indra/newview/llfloaterimcontainer.cpp
+++ b/indra/newview/llfloaterimcontainer.cpp
@@ -2132,17 +2132,19 @@ void LLFloaterIMContainer::closeFloater(bool app_quitting/* = false*/)
{
onClickCloseBtn();
}
-
- // Otherwise, close current conversation
- LLFloaterIMSessionTab* active_conversation = LLFloaterIMSessionTab::getConversation(session_id);
- if (active_conversation)
+ else
{
- active_conversation->closeFloater();
- if(app_quitting)
+ // Otherwise, close current conversation
+ LLFloaterIMSessionTab* active_conversation = LLFloaterIMSessionTab::getConversation(session_id);
+ if (active_conversation)
{
- LLFloater::closeFloater(app_quitting);
- }
+ active_conversation->closeFloater();
+ if(app_quitting)
+ {
+ LLFloater::closeFloater(app_quitting);
+ }
+ }
}
}