From e727800829be2ecf236b726b1ec7693a3adad908 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Thu, 14 Jan 2010 11:16:33 +0200 Subject: =?UTF-8?q?fixed=20EXT-3748=20=E2=80=9CClicking=20notification=20t?= =?UTF-8?q?oast=20related=20to=20an=20alert=20in=20Notification=20well=20s?= =?UTF-8?q?hould=20not=20close=20Notification=20well=E2=80=9D,=20included?= =?UTF-8?q?=20toast=20inspector=20to=20transient=20manager=20exclude=20lis?= =?UTF-8?q?t;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : product-engine --- indra/newview/llinspecttoast.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llinspecttoast.cpp b/indra/newview/llinspecttoast.cpp index 074268dacf..3ca8fa2f56 100644 --- a/indra/newview/llinspecttoast.cpp +++ b/indra/newview/llinspecttoast.cpp @@ -37,6 +37,7 @@ #include "llfloaterreg.h" #include "llscreenchannel.h" #include "llchannelmanager.h" +#include "lltransientfloatermgr.h" using namespace LLNotificationsUI; @@ -70,10 +71,12 @@ LLInspectToast::LLInspectToast(const LLSD& notification_id) : llwarns << "Could not get requested screen channel." << llendl; return; } + + LLTransientFloaterMgr::getInstance()->addControlView(this); } LLInspectToast::~LLInspectToast() { - + LLTransientFloaterMgr::getInstance()->removeControlView(this); } void LLInspectToast::onOpen(const LLSD& notification_id) -- cgit v1.2.3