summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloater.cpp
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-11-18 18:08:32 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-11-18 18:08:32 -0800
commitff6eea998daf353cfbff6b0323399bfd95492fcc (patch)
tree7c103813e41577886ee4f10fd46ef2eb921911b9 /indra/newview/llimfloater.cpp
parent3375a71ffbe27df4a90760ded6f3ac2050e38bfc (diff)
Change close behavior to not end session.
* NOTE: This is functional, but not ideal - it's still closing the floater; we really want to change the behavior of the X button instead. Also made the group IM floater a little less broken.
Diffstat (limited to 'indra/newview/llimfloater.cpp')
-rw-r--r--indra/newview/llimfloater.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/indra/newview/llimfloater.cpp b/indra/newview/llimfloater.cpp
index dbbf98ad08..b7c614d09c 100644
--- a/indra/newview/llimfloater.cpp
+++ b/indra/newview/llimfloater.cpp
@@ -106,8 +106,6 @@ void LLIMFloater::onFocusReceived()
// virtual
void LLIMFloater::onClose(bool app_quitting)
{
- if (!gIMMgr->hasSession(mSessionID)) return;
-
setTyping(false);
gIMMgr->leaveSession(mSessionID);
}