[LLIMMgr/LLIMPanel Revision] Fix PinTalkViewOpen=false mechanics

If the user is holding a modifier key with enter, it bypasses the unpinned setting
If a chat is popped out, this setting now only minimizes that chat, not toggles the main communications floater.
LLIMPanel::closeIfNotPinned() now condenses the logic.

Also makes LLIMMgr::toggle() non-static and requiring no args.
This commit is contained in:
Inusaito Sayori
2013-10-10 02:49:02 -04:00
parent 9e312a3808
commit 260723f2a4
3 changed files with 19 additions and 16 deletions

View File

@@ -143,7 +143,7 @@ public:
// good connection.
void disconnectAllSessions();
static void toggle(void*);
void toggle();
BOOL hasSession(const LLUUID& session_id);