diff options
| author | callum <none@none> | 2011-10-10 17:29:04 -0700 |
|---|---|---|
| committer | callum <none@none> | 2011-10-10 17:29:04 -0700 |
| commit | 213985ca0d045252ad49d9d45f77d0727fa9008f (patch) | |
| tree | af408f93eecc903736ea24812aa327736887594f /indra/newview/llbottomtray.cpp | |
| parent | ec5ea33c8113a63e956c195ccf051b2a03979be9 (diff) | |
EXP-1302 PARTIAL Make the Speak button work as a toolbar button
First pass - no Push-To-Talk functionality.
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
| -rw-r--r-- | indra/newview/llbottomtray.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp index 98712f1334..af91702f9b 100644 --- a/indra/newview/llbottomtray.cpp +++ b/indra/newview/llbottomtray.cpp @@ -387,6 +387,9 @@ void LLBottomTray::onChange(EStatusType status, const std::string &channelURI, b if (status != STATUS_JOINING && status!= STATUS_LEFT_CHANNEL) { bool voice_status = LLVoiceClient::getInstance()->voiceEnabled() && LLVoiceClient::getInstance()->isVoiceWorking(); + + gAgent.setVoiceConnected(voice_status); + getChild<LLButton>("speak_flyout_btn")->setEnabled(voice_status); gMenuBarView->getChild<LLView>("Nearby Voice")->setEnabled(voice_status); if (voice_status) |
