summaryrefslogtreecommitdiff
path: root/indra/newview/llinspecttoast.cpp
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-01-14 11:16:33 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2010-01-14 11:16:33 +0200
commite727800829be2ecf236b726b1ec7693a3adad908 (patch)
tree488ad574dcd43fd7256474f86a25ad9c220f0133 /indra/newview/llinspecttoast.cpp
parenta42ef84b9f18cfafc3ebeed1b37cd03e1e006dff (diff)
fixed EXT-3748 “Clicking notification toast related to an alert in
Notification well should not close Notification well”, included toast inspector to transient manager exclude list; --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llinspecttoast.cpp')
-rw-r--r--indra/newview/llinspecttoast.cpp5
1 files changed, 4 insertions, 1 deletions
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)