summaryrefslogtreecommitdiff
path: root/indra/newview/llparticipantlist.cpp
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-01-27 14:06:44 +0200
committerMike Antipov <mantipov@productengine.com>2010-01-27 14:06:44 +0200
commit684cfb722e433c7625c7c945aca05e0154915c8f (patch)
treee6980b612cc500274bf68131823baf8119bd63bc /indra/newview/llparticipantlist.cpp
parent8ea2c7a37380162ba2926bd23a01583023884408 (diff)
Work on critical bug EXT-4725 (Viewer crashes if try to call from 'Nearby voice' floater)
- reverted workaround implemented in the d1e9333a6203 changeset. Bug will be fixed in the correct way. --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llparticipantlist.cpp')
-rw-r--r--indra/newview/llparticipantlist.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp
index d54cbfe203..f83f3eba96 100644
--- a/indra/newview/llparticipantlist.cpp
+++ b/indra/newview/llparticipantlist.cpp
@@ -433,12 +433,6 @@ LLContextMenu* LLParticipantList::LLParticipantListMenu::createMenu()
LLContextMenu* main_menu = LLUICtrlFactory::getInstance()->createFromFile<LLContextMenu>(
"menu_participant_list.xml", LLMenuGL::sMenuContainer, LLViewerMenuHolderGL::child_registry_t::instance());
- // AD *TODO: This is workaround for EXT-4725- way to properly enable/disable "Call" menu item in
- // enableContextMenuItem() should be found.
- bool not_agent = mUUIDs.front() != gAgentID;
- bool can_call = not_agent && LLVoiceClient::voiceEnabled() && gVoiceClient->voiceWorking();
- main_menu->setItemEnabled("Call", can_call);
-
// Don't show sort options for P2P chat
bool is_sort_visible = (mParent.mAvatarList && mParent.mAvatarList->size() > 1);
main_menu->setItemVisible("SortByName", is_sort_visible);