summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-11-26 17:07:35 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2009-11-26 17:07:35 +0000
commit5fc387c9183b62b3fa1567432ac8897a89a205f6 (patch)
tree2d05c21996075da0be8d8b5d9b7cbff0806ee6b7
parent0a8e19d4980edabe62173b1f46d99812cbe27477 (diff)
More trying to get my panel to show.
I must still be missing something obvious.
-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 6074bb2be9..15c76a13c6 100644
--- a/indra/newview/llstatusbar.cpp
+++ b/indra/newview/llstatusbar.cpp
@@ -529,6 +529,7 @@ static void onClickVolume(void* data)
sb->mPanelVolume->setBackgroundColor(LLColor3(1.0, 0.0, 0.0));
sb->mPanelVolume->setVisible(TRUE);
sb->mPanelVolume->setEnabled(TRUE);
+ sb->addChild(sb->mPanelVolume);
gFocusMgr.setTopCtrl(sb->mPanelVolume);
// also set focus explicitly to mpanelvolume
}