From 4d46630e9ad492071348431005cbf2dfb8a2fdb3 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sun, 31 Jan 2016 15:13:16 +0100 Subject: [PATCH] Fix warning spam "LLFloaterNotificationsTabbed::removeItemByID: Unable to remove notification from the list, ID..." when closing script dialogs --- indra/newview/llfloaternotificationstabbed.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/indra/newview/llfloaternotificationstabbed.cpp b/indra/newview/llfloaternotificationstabbed.cpp index 4c2629334e..cc94ef71d9 100644 --- a/indra/newview/llfloaternotificationstabbed.cpp +++ b/indra/newview/llfloaternotificationstabbed.cpp @@ -126,6 +126,13 @@ LLFloaterNotificationsTabbed::~LLFloaterNotificationsTabbed() //--------------------------------------------------------------------------------- void LLFloaterNotificationsTabbed::removeItemByID(const LLUUID& id, std::string type) { + // Ignore for script dialogs that are not listed in the notifications list + if (type == "ScriptDialog" || type == "ScriptDialogGroup") + { + return; + } + // + if(mNotificationsSeparator->removeItemByID(type, id)) { if (NULL != mSysWellChiclet)