diff options
author | Jonathan Yap <none@none> | 2011-03-24 12:07:47 -0400 |
---|---|---|
committer | Jonathan Yap <none@none> | 2011-03-24 12:07:47 -0400 |
commit | aa628750eb4f465c328b272f7c2db3bc7b48d654 (patch) | |
tree | f702af56c8c779b1f87e4ecee8a675b786e325e8 /indra/newview/llspeakbutton.cpp | |
parent | f818d1a5a43d9dd5e580a798cf511c5052ac12db (diff) |
STORM-1077 Change hint wording. Disable hint if speak or flyout button is pressed.
Diffstat (limited to 'indra/newview/llspeakbutton.cpp')
-rw-r--r-- | indra/newview/llspeakbutton.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llspeakbutton.cpp b/indra/newview/llspeakbutton.cpp index c76ecae4a2..81beb0155f 100644 --- a/indra/newview/llspeakbutton.cpp +++ b/indra/newview/llspeakbutton.cpp @@ -38,6 +38,7 @@ #include "llspeakbutton.h" #include "llbottomtray.h" +#include "llfirstuse.h" static LLDefaultChildRegistry::Register<LLSpeakButton> t1("talk_button"); @@ -176,10 +177,12 @@ void LLSpeakButton::onMouseDown_SpeakBtn() { bool down = true; LLVoiceClient::getInstance()->inputUserControlState(down); // this method knows/care about whether this translates into a toggle-to-talk or down-to-talk + LLFirstUse::speak(false); } void LLSpeakButton::onMouseUp_SpeakBtn() { bool down = false; LLVoiceClient::getInstance()->inputUserControlState(down); + LLFirstUse::speak(false); } |