summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloater.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-11-25 12:31:24 -0800
committerJames Cook <james@lindenlab.com>2009-11-25 12:31:24 -0800
commit957055396d2ffa3a76b09c60cb9c3e1f73870cbf (patch)
tree632ecbdc0c21b0e14eb72f74faa8c04765f54489 /indra/newview/llimfloater.cpp
parentef46d4077ca4aad322aabfe545885be136577c8a (diff)
parent59eb8a43a467ecaa5a8c2b58bf1abfb8350c0202 (diff)
merge in changes from viewer-2-0, manually fixed conflict in llviewermessages.cpp
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r--indra/newview/llimfloater.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp
index 795770d3db..ee93a9349a 100644
--- a/indra/newview/llimfloater.cpp
+++ b/indra/newview/llimfloater.cpp
@@ -110,10 +110,10 @@ void LLIMFloater::onFocusReceived()
// virtual
void LLIMFloater::onClose(bool app_quitting)
{
- if (!gIMMgr->hasSession(mSessionID)) return;
-
setTyping(false);
- gIMMgr->leaveSession(mSessionID);
+ // SJB: We want the close button to hide the session window, not end it
+ // *NOTE: Yhis is functional, but not ideal - it's still closing the floater; we really want to change the behavior of the X button instead.
+ //gIMMgr->leaveSession(mSessionID);
}
/* static */