summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-01-08 11:53:03 -0800
committerLeyla Farazha <leyla@lindenlab.com>2010-01-08 11:53:03 -0800
commite04752c165900e652f4b8a8a62c1f351967847d7 (patch)
tree9ba48487be03f019b219773671d57615db0f6f8a /indra/newview
parent35bb14951f686da538264db349f4bfbe045b8c82 (diff)
EXT-3874 Lindens can (appear to) be blocked from avatar info popup
Diffstat (limited to 'indra/newview')
-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");