Commits

Anonymous committed 8f60c1b

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.

Comments (0)

Files changed (1)

indra/newview/llimfloater.cpp

 void LLIMFloater::onClose(bool app_quitting)
 {
 	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 */