summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-11-26 09:41:18 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2009-11-26 09:41:18 +0000
commit9b0236990ba2df3c7c890d2d351724b455eddbb0 (patch)
treed726b9c32dc147a2343795b7b95b9324919a1b79
parente10d957541e5743595f7de6786cff110e0b5aeaf (diff)
sketch what I think it wrong here.
-rw-r--r--indra/newview/llstatusbar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llstatusbar.cpp b/indra/newview/llstatusbar.cpp
index 2c18c41a5e..f668a72c4e 100644
--- a/indra/newview/llstatusbar.cpp
+++ b/indra/newview/llstatusbar.cpp
@@ -527,6 +527,8 @@ static void onClickVolume(void* data)
sb->mPanelVolume->setBackgroundColor(LLColor3(1.0, 0.0, 0.0));
sb->mPanelVolume->setVisible(TRUE);
sb->mPanelVolume->setEnabled(TRUE);
+ gFocusMgr.setTopCtrl(sb->mPanelVolume);
+ // also set focus explicitly to mpanelvolume
}
// sets the static variables necessary for the date