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.master
parent
886946d699
commit
13d510d5f2
|
|
@ -188,7 +188,7 @@ void LLCallFloater::draw()
|
|||
|
||||
// Need to resort the participant list if it's in sort by recent speaker order.
|
||||
if (mParticipants)
|
||||
mParticipants->updateRecentSpeakersOrder();
|
||||
mParticipants->update();
|
||||
|
||||
LLFloater::draw();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -374,7 +374,7 @@ void LLPanelGroupControlPanel::draw()
|
|||
{
|
||||
// Need to resort the participant list if it's in sort by recent speaker order.
|
||||
if (mParticipantList)
|
||||
mParticipantList->updateRecentSpeakersOrder();
|
||||
mParticipantList->update();
|
||||
LLPanelChatControlPanel::draw();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,9 +72,9 @@ public:
|
|||
const EParticipantSortOrder getSortOrder() const;
|
||||
|
||||
/**
|
||||
* Refreshes the participant list if it's in sort by recent speaker order.
|
||||
* Refreshes the participant list.
|
||||
*/
|
||||
void updateRecentSpeakersOrder();
|
||||
void update();
|
||||
|
||||
/**
|
||||
* Set a callback to be called before adding a speaker. Invalid speakers will not be added.
|
||||
|
|
|
|||
Loading…
Reference in New Issue