From e727800829be2ecf236b726b1ec7693a3adad908 Mon Sep 17 00:00:00 2001 From: Alexei Arabadji <aarabadji@productengine.com> Date: Thu, 14 Jan 2010 11:16:33 +0200 Subject: [PATCH] =?UTF-8?q?fixed=20EXT-3748=20=E2=80=9CClicking=20notifica?= =?UTF-8?q?tion=20toast=20related=20to=20an=20alert=20in=20Notification=20?= =?UTF-8?q?well=20should=20not=20close=20Notification=20well=E2=80=9D,=20i?= =?UTF-8?q?ncluded=20toast=20inspector=20to=20transient=20manager=20exclud?= =?UTF-8?q?e=20list;?= 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(-) diff --git a/indra/newview/llinspecttoast.cpp b/indra/newview/llinspecttoast.cpp index 074268dacfd..3ca8fa2f56e 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) -- GitLab