Allow multi-select for participant lists, for multi-user operations via right click menu.

This commit is contained in:
Inusaito Sayori
2014-06-09 06:54:53 -04:00
parent 839f4eab7e
commit 5a36450e01
3 changed files with 3 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ void LLParticipantList::handleSpeakerSelect()
{
const LLUUID& speaker_id = mAvatarList->getValue().asUUID();
LLPointer<LLSpeaker> selected_speakerp = mSpeakerMgr->findSpeaker(speaker_id);
if (speaker_id.isNull() || selected_speakerp.isNull())
if (speaker_id.isNull() || selected_speakerp.isNull() || mAvatarList->getNumSelected() != 1)
{
// Disable normal controls
if (LLView* view = findChild<LLView>("mute_btn"))