summaryrefslogtreecommitdiff
path: root/indra/newview/llcallfloater.cpp
diff options
context:
space:
mode:
authorAndrew Dyukov <adyukov@productengine.com>2010-02-12 17:54:57 +0200
committerAndrew Dyukov <adyukov@productengine.com>2010-02-12 17:54:57 +0200
commit713eb289b0128cae540866f38e0baff187ef3392 (patch)
treea0c559e906fa7b8dcf748fc25ca5e1c82b19eb22 /indra/newview/llcallfloater.cpp
parent6ead0d131fa442d51c1cd9c9d022bf1844138e46 (diff)
Fixed normal bug EXT-5117 (Voice Control Panel sorting should default to by Recent speaker).
- Changed sort order of participant list in VCP to by Recent speaker after it's creation. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llcallfloater.cpp')
-rw-r--r--indra/newview/llcallfloater.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llcallfloater.cpp b/indra/newview/llcallfloater.cpp
index 0aaaa8e705..3c4f791d91 100644
--- a/indra/newview/llcallfloater.cpp
+++ b/indra/newview/llcallfloater.cpp
@@ -333,6 +333,7 @@ void LLCallFloater::refreshParticipantList()
{
mParticipants = new LLParticipantList(mSpeakerManager, mAvatarList, true, mVoiceType != VC_GROUP_CHAT && mVoiceType != VC_AD_HOC_CHAT);
mParticipants->setValidateSpeakerCallback(boost::bind(&LLCallFloater::validateSpeaker, this, _1));
+ mParticipants->setSortOrder(LLParticipantList::E_SORT_BY_RECENT_SPEAKERS);
if (LLLocalSpeakerMgr::getInstance() == mSpeakerManager)
{