summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.cpp
diff options
context:
space:
mode:
authorcallum <none@none>2011-05-06 13:40:13 -0700
committercallum <none@none>2011-05-06 13:40:13 -0700
commitd892256d5ba142bb8ea7ef11f64c67a498e725e9 (patch)
tree47371b7ac7f48d95839c686eb41bb22b1d6d76a1 /indra/newview/llbottomtray.cpp
parent4ad94507dd17602323fa19027ff5bb5bfc6bc020 (diff)
parent483ceba5f492430ddd4f3b5c8c9d0fdfe12f2a6f (diff)
Merge with head
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r--indra/newview/llbottomtray.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp
index cad00eed14..c72cdfd1dc 100644
--- a/indra/newview/llbottomtray.cpp
+++ b/indra/newview/llbottomtray.cpp
@@ -555,8 +555,14 @@ BOOL LLBottomTray::postBuild()
// Localization tool doesn't understand custom buttons like <talk_button>
mSpeakBtn->setSpeakToolTip( getString("SpeakBtnToolTip") );
mSpeakBtn->setShowToolTip( getString("VoiceControlBtnToolTip") );
+ }
+ else
+ {
+ LLTransientFloaterMgr::getInstance()->addControlView(getChild<LLButton>("speak_btn"));
+ LLTransientFloaterMgr::getInstance()->addControlView(getChild<LLButton>("speak_flyout_btn"));
}
+
// Both parts of speak button should be initially disabled because
// it takes some time between logging in to world and connecting to voice channel.
getChild<LLButton>("speak_btn")->setEnabled(false);