diff options
author | Paul Guslisty <pguslisty@productengine.com> | 2009-12-10 18:18:11 +0200 |
---|---|---|
committer | Paul Guslisty <pguslisty@productengine.com> | 2009-12-10 18:18:11 +0200 |
commit | 9e8bbf098a8e2b5bb27c29f84ddb746e63a09c66 (patch) | |
tree | b52e58ead2be1dd07082a5f4446b9c0ec1f9f1a0 /indra/newview/llpanelavatar.cpp | |
parent | 86d8d35341e27953c2344b44f4097da67da10752 (diff) |
Fixed low bug EXT - 3255 (Call button is enabled in the People & Profile panels while voice is disabled)
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llpanelavatar.cpp')
-rw-r--r-- | indra/newview/llpanelavatar.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelavatar.cpp b/indra/newview/llpanelavatar.cpp index eb9cb10d56..b9f422ca6f 100644 --- a/indra/newview/llpanelavatar.cpp +++ b/indra/newview/llpanelavatar.cpp @@ -51,6 +51,7 @@ #include "llfloaterworldmap.h" #include "llfloaterreg.h" #include "llnotificationsutil.h" +#include "llvoiceclient.h" //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // Class LLDropTarget @@ -395,6 +396,7 @@ void LLPanelProfileTab::updateButtons() && gAgent.isGodlike() || is_agent_mappable(getAvatarId()); childSetEnabled("show_on_map_btn", enable_map_btn); + childSetEnabled("call", LLVoiceClient::voiceEnabled()); } ////////////////////////////////////////////////////////////////////////// |