diff --git a/indra/newview/llfloateroutbox.cpp b/indra/newview/llfloateroutbox.cpp index 2a2b231b53c11862c386568fec8b8487f7bda104..c55970ad695290f965f04415c7ab753f7841633c 100644 --- a/indra/newview/llfloateroutbox.cpp +++ b/indra/newview/llfloateroutbox.cpp @@ -58,6 +58,14 @@ bool LLNotificationsUI::LLOutboxNotification::processNotification(const LLNotifi return false; } +void LLNotificationsUI::LLOutboxNotification::onDelete(LLNotificationPtr p) +{ + LLNotificationsUI::LLSysHandler * sys_handler = dynamic_cast<LLNotificationsUI::LLSysHandler*>(LLNotifications::instance().getChannel("AlertModal").get()); + if (sys_handler) + { + sys_handler->onDelete(p); + } +} ///---------------------------------------------------------------------------- /// LLOutboxAddedObserver helper class diff --git a/indra/newview/llnotificationhandler.h b/indra/newview/llnotificationhandler.h index 21f3961d182a92e752b36013d6b32f6696bda8a9..1725d632e8ab429872a78d0e646e39c495a2eb05 100644 --- a/indra/newview/llnotificationhandler.h +++ b/indra/newview/llnotificationhandler.h @@ -276,6 +276,7 @@ class LLOutboxNotification : public LLNotificationChannel {} /*virtual*/ void onAdd(LLNotificationPtr p) { processNotification(p); } /*virtual*/ void onChange(LLNotificationPtr p) { processNotification(p); } + /*virtual*/ void onDelete(LLNotificationPtr p); bool processNotification(const LLNotificationPtr& p); };