diff options
| author | Merov Linden <merov@lindenlab.com> | 2012-08-27 09:50:23 -0700 |
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2012-08-27 09:50:23 -0700 |
| commit | 99e0c35c40354a3ad4d9e6e0d92a73c15c844441 (patch) | |
| tree | a8f2f50548185f72893256258f1d28dd82bd5efb /indra/newview/llimfloatercontainer.cpp | |
| parent | fd62242dd6e5fa464db07e0b8ebf3ab54a6067a2 (diff) | |
| parent | 0804ecb3551514d3321dfd4e3b17c3dab9693444 (diff) | |
Merge pull from richard/viewer-chui
Diffstat (limited to 'indra/newview/llimfloatercontainer.cpp')
| -rw-r--r-- | indra/newview/llimfloatercontainer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp index 4d0bd623f8..a3f5e357c9 100644 --- a/indra/newview/llimfloatercontainer.cpp +++ b/indra/newview/llimfloatercontainer.cpp @@ -315,13 +315,13 @@ void LLIMFloaterContainer::setVisible(BOOL visible) if (visible) { // Make sure we have the Nearby Chat present when showing the conversation container - LLIMConversation* nearby_chat = LLIMConversation::findConversation(LLUUID::null); + LLIMConversation* nearby_chat = LLFloaterReg::findTypedInstance<LLIMConversation>("nearby_chat"); if (nearby_chat == NULL) { // If not found, force the creation of the nearby chat conversation panel // *TODO: find a way to move this to XML as a default panel or something like that - LLSD name("chat_bar"); - LLFloaterReg::toggleInstanceOrBringToFront(name, LLSD(LLUUID::null)); + LLSD name("nearby_chat"); + LLFloaterReg::toggleInstanceOrBringToFront(name); } } |
