From 53be27e742b642c1642c3289e3e11b300a14d360 Mon Sep 17 00:00:00 2001 From: Yuri Chebotarev Date: Tue, 17 Nov 2009 14:40:02 +0200 Subject: fox4 low task EXT-2480 Open Blocked List panel when blocking an object from nearby chat console --HG-- branch : product-engine --- indra/newview/llchathistory.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 028bb7a384..9916175775 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -46,6 +46,8 @@ #include "llfloaterreg.h" #include "llmutelist.h" +#include "llsidetray.h"//for blocked objects panel + static LLDefaultChildRegistry::Register r("chat_history"); std::string formatCurrentTime() @@ -92,6 +94,8 @@ public: else if (level == "block") { LLMuteList::getInstance()->add(LLMute(getAvatarId(), mFrom, LLMute::OBJECT)); + + LLSideTray::getInstance()->showPanel("panel_block_list_sidetray", LLSD().insert("blocked_to_select", getAvatarId())); } } -- cgit v1.2.3