summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelimcontrolpanel.cpp
diff options
context:
space:
mode:
authorEugene Mutavchi <emutavchi@productengine.com>2009-12-21 19:45:20 +0200
committerEugene Mutavchi <emutavchi@productengine.com>2009-12-21 19:45:20 +0200
commit0d6af2a01d64c44a3874446c5c9a4ede71d8a98e (patch)
tree8382df32eda38b097e0ac840ab18e8f00d7dc2bd /indra/newview/llpanelimcontrolpanel.cpp
parent50e5c4c3f372736fa50497cc598effe9a51c14d2 (diff)
Additional commit for EXT-3581: the code of updating of speakers order is moved to a separate method
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llpanelimcontrolpanel.cpp')
-rw-r--r--indra/newview/llpanelimcontrolpanel.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llpanelimcontrolpanel.cpp b/indra/newview/llpanelimcontrolpanel.cpp
index 8d03f9e686..3f309b3bf5 100644
--- a/indra/newview/llpanelimcontrolpanel.cpp
+++ b/indra/newview/llpanelimcontrolpanel.cpp
@@ -247,10 +247,9 @@ void LLPanelGroupControlPanel::draw()
//Remove event does not raised until speakerp->mActivityTimer.hasExpired() is false, see LLSpeakerManager::update()
//so we need update it to raise needed event
mSpeakerManager->update(true);
- // Need to refresh participants to display ones not in voice as disabled and
- // resort the avatar list if it's in sort by recent speaker order.
+ // Need to resort the participant list if it's in sort by recent speaker order.
if (mParticipantList)
- mParticipantList->refreshVoiceState();
+ mParticipantList->updateRecentSpeakersOrder();
LLPanelChatControlPanel::draw();
}