From c4d684d462fe555345a1c311a1e904f7baee56c6 Mon Sep 17 00:00:00 2001 From: Mike Antipov Date: Mon, 21 Dec 2009 15:14:56 +0200 Subject: Fixed major bug EXT-3572 (Notification Well button becomes "lit" after resolving any notification) -- set "new messages" state only if count of unread messages is increased. --HG-- branch : product-engine --- indra/newview/llchiclet.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indra/newview/llchiclet.cpp') diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp index 957d272f40..17ef1f41a4 100644 --- a/indra/newview/llchiclet.cpp +++ b/indra/newview/llchiclet.cpp @@ -187,9 +187,9 @@ void LLSysWellChiclet::setCounter(S32 counter) mButton->setLabel(s_count); - setNewMessagesState(counter > 0); + setNewMessagesState(counter > mCounter); - // we have to flash to 'Lit' state each time new unread message is comming. + // we have to flash to 'Lit' state each time new unread message is coming. if (counter > mCounter) { mFlashToLitTimer->flash(); -- cgit v1.2.3