diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2013-06-12 15:05:15 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2013-06-12 15:05:15 +0300 |
commit | 452832b26f0d4c4e94da7ebd9b98f2fc337950c3 (patch) | |
tree | 558c49a043e45ead27855e453ef5ea1354359a76 /indra | |
parent | 0cf9597bd55782b4a463f3e07767269e80432db6 (diff) |
CHUI-976 FIXED Correct way to show Nearby chat is used now.
Diffstat (limited to 'indra')
-rwxr-xr-x | indra/newview/llchatitemscontainerctrl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llchatitemscontainerctrl.cpp b/indra/newview/llchatitemscontainerctrl.cpp index a1a9463d43..46fd7996d4 100755 --- a/indra/newview/llchatitemscontainerctrl.cpp +++ b/indra/newview/llchatitemscontainerctrl.cpp @@ -323,12 +323,12 @@ BOOL LLFloaterIMNearbyChatToastPanel::handleMouseUp (S32 x, S32 y, MASK mask) return TRUE; else { - (LLFloaterReg::getTypedInstance<LLFloaterIMNearbyChat>("nearby_chat"))->showHistory(); + LLFloaterReg::toggleInstanceOrBringToFront("nearby_chat"); return FALSE; } } - (LLFloaterReg::getTypedInstance<LLFloaterIMNearbyChat>("nearby_chat"))->showHistory(); + LLFloaterReg::toggleInstanceOrBringToFront("nearby_chat"); return LLPanel::handleMouseUp(x,y,mask); } |