summaryrefslogtreecommitdiff
path: root/indra/newview/llstatusbar.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-12-23 15:14:41 -0800
committerTofu Linden <tofu.linden@lindenlab.com>2009-12-23 15:14:41 -0800
commit84f52f9033f0459eb19b5ce8702c0c9397d09aec (patch)
tree91deec7d5d72ed8735d4f34a07b8044e6c789dfb /indra/newview/llstatusbar.cpp
parent223ecb214cce7b2a6b856e2bed77572ff5b99141 (diff)
DEV-44634 statusbar global volume mute button should not take keyboard focus when clicked
Diffstat (limited to 'indra/newview/llstatusbar.cpp')
-rw-r--r--indra/newview/llstatusbar.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llstatusbar.cpp b/indra/newview/llstatusbar.cpp
index 9e72464237..23c4f00ab7 100644
--- a/indra/newview/llstatusbar.cpp
+++ b/indra/newview/llstatusbar.cpp
@@ -160,6 +160,7 @@ LLStatusBar::LLStatusBar(const LLRect& rect)
mBtnVolume = getChild<LLButton>( "volume_btn" );
mBtnVolume->setClickedCallback( onClickVolume, this );
mBtnVolume->setMouseEnterCallback(boost::bind(&LLStatusBar::onMouseEnterVolume, this));
+ mBtnVolume->setIsChrome(TRUE);
gSavedSettings.getControl("MuteAudio")->getSignal()->connect(boost::bind(&LLStatusBar::onVolumeChanged, this, _2));