summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llinspectavatar.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llinspectavatar.cpp b/indra/newview/llinspectavatar.cpp
index 72994a4371..6cb3431419 100644
--- a/indra/newview/llinspectavatar.cpp
+++ b/indra/newview/llinspectavatar.cpp
@@ -520,7 +520,10 @@ void LLInspectAvatar::updateVolumeSlider()
bool voice_enabled = gVoiceClient->getVoiceEnabled(mAvatarID);
LLUICtrl* mute_btn = getChild<LLUICtrl>("mute_btn");
- mute_btn->setEnabled( voice_enabled );
+
+ bool is_linden = LLStringUtil::endsWith(mAvatarName, " Linden");
+
+ mute_btn->setEnabled( voice_enabled && !is_linden);
mute_btn->setValue( is_muted );
LLUICtrl* volume_slider = getChild<LLUICtrl>("volume_slider");