summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Arabadji <aarabadji@productengine.com>2010-01-15 17:34:11 +0200
committerAlexei Arabadji <aarabadji@productengine.com>2010-01-15 17:34:11 +0200
commit7aa96279fe1a5391e1e276961bd9fb7cb81cf3a1 (patch)
tree949cf5c1c89d7f1b98d1c36a2452e2e2e0ec692a
parent502254e97086ba6b76dca498039a273d620f2bc4 (diff)
fixed EXT-4219 “Chiclets list autoscrolls after clicking on a chiclet”,
avoided redundant rearranging of chiclet panel; --HG-- branch : product-engine
-rw-r--r--indra/newview/llchiclet.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llchiclet.cpp b/indra/newview/llchiclet.cpp
index dc2e22f899..5cbe6f9670 100644
--- a/indra/newview/llchiclet.cpp
+++ b/indra/newview/llchiclet.cpp
@@ -540,6 +540,11 @@ void LLIMChiclet::toggleSpeakerControl()
void LLIMChiclet::setCounter(S32 counter)
{
+ if (mCounterCtrl->getCounter() == counter)
+ {
+ return;
+ }
+
mCounterCtrl->setCounter(counter);
setShowCounter(counter);
setShowNewMessagesIcon(counter);