diff options
| author | Vadim ProductEngine <vsavchuk@productengine.com> | 2012-01-27 19:31:52 +0200 |
|---|---|---|
| committer | Vadim ProductEngine <vsavchuk@productengine.com> | 2012-01-27 19:31:52 +0200 |
| commit | 13d510d5f2fa2d9bf654e70d9191f1909b1f299e (patch) | |
| tree | 63dcf7b3994820939f1daa033ff65150b8279459 /indra/newview/llparticipantlist.cpp | |
| parent | 886946d699880e90b8d34d8b8c2e88d59929d4df (diff) | |
EXP-1847 FIXED Fixed inability to mute a nearby avatar in Voice Settings if the speakers list is sorted by name.
Added missing update of the floater's internal speaker list.
Diffstat (limited to 'indra/newview/llparticipantlist.cpp')
| -rw-r--r-- | indra/newview/llparticipantlist.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp index 183bc7b610..975a6c67d8 100644 --- a/indra/newview/llparticipantlist.cpp +++ b/indra/newview/llparticipantlist.cpp @@ -469,12 +469,12 @@ void LLParticipantList::setValidateSpeakerCallback(validate_speaker_callback_t c mValidateSpeakerCallback = cb; } -void LLParticipantList::updateRecentSpeakersOrder() +void LLParticipantList::update() { + mSpeakerMgr->update(true); + if (E_SORT_BY_RECENT_SPEAKERS == getSortOrder() && !isHovered()) { - // Need to update speakers to sort list correctly - mSpeakerMgr->update(true); // Resort avatar list sort(); } |
