diff options
author | Mike Antipov <mantipov@productengine.com> | 2009-12-21 15:14:56 +0200 |
---|---|---|
committer | Mike Antipov <mantipov@productengine.com> | 2009-12-21 15:14:56 +0200 |
commit | c4d684d462fe555345a1c311a1e904f7baee56c6 (patch) | |
tree | d26f49af2c49262683134b954892d10e56ae31d7 | |
parent | 4b9c365b442acfd662086a8ce23209f8f7a7afc2 (diff) |
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
-rw-r--r-- | indra/newview/llchiclet.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |