summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelavatar.cpp
diff options
context:
space:
mode:
authorrichard <none@none>2009-12-17 09:57:43 -0800
committerrichard <none@none>2009-12-17 09:57:43 -0800
commitcf63ce4dc1176d9df4fe852821e4a6d32332f7c6 (patch)
tree8e77e822118f4979759caab99df48975f79994c7 /indra/newview/llpanelavatar.cpp
parentf452c01915be011814d92dcc1a398f450b6ce9c2 (diff)
parent4dd37a10633c95a9806b608b4db4d0a2d3141a21 (diff)
merge
Diffstat (limited to 'indra/newview/llpanelavatar.cpp')
-rw-r--r--indra/newview/llpanelavatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelavatar.cpp b/indra/newview/llpanelavatar.cpp
index b9f422ca6f..ffe7f57167 100644
--- a/indra/newview/llpanelavatar.cpp
+++ b/indra/newview/llpanelavatar.cpp
@@ -396,7 +396,7 @@ void LLPanelProfileTab::updateButtons()
&& gAgent.isGodlike() || is_agent_mappable(getAvatarId());
childSetEnabled("show_on_map_btn", enable_map_btn);
- childSetEnabled("call", LLVoiceClient::voiceEnabled());
+ childSetEnabled("call", LLAvatarActions::canCall(getAvatarId()));
}
//////////////////////////////////////////////////////////////////////////