From 7165bb86be059540139d936e930a8b09556d040a Mon Sep 17 00:00:00 2001 From: Alexei Arabadji Date: Mon, 18 Jan 2010 18:44:23 +0200 Subject: =?UTF-8?q?fixed=20EXT-4214=20=E2=80=9CNotifications=20counter=20c?= =?UTF-8?q?an=20be=20negative=E2=80=9D,=20added=20check=20to=20avoid=20del?= =?UTF-8?q?eting=20closed=20toasts;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --HG-- branch : product-engine --- indra/newview/llscreenchannel.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra') diff --git a/indra/newview/llscreenchannel.cpp b/indra/newview/llscreenchannel.cpp index 2eee7635a7..0adc9fc258 100644 --- a/indra/newview/llscreenchannel.cpp +++ b/indra/newview/llscreenchannel.cpp @@ -286,6 +286,11 @@ void LLScreenChannel::onToastFade(LLToast* toast) //-------------------------------------------------------------------------- void LLScreenChannel::deleteToast(LLToast* toast) { + if (toast->isDead()) + { + return; + } + // send signal to observers about destroying of a toast toast->mOnDeleteToastSignal(toast); -- cgit v1.2.3