diff options
author | richard <none@none> | 2009-11-05 15:36:59 -0800 |
---|---|---|
committer | richard <none@none> | 2009-11-05 15:36:59 -0800 |
commit | 93e877a5ce9208f37872614a5b4ee2fabc3cbf11 (patch) | |
tree | cff739854b3867c87a27c79f0063076d26b5d04a /indra/newview | |
parent | 0a7290772a6b39555adb966c7a48ef44151c1f05 (diff) |
LLSpeakButton now cleans up after itself by removing transientfloatermgr references
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llspeakbutton.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llspeakbutton.cpp b/indra/newview/llspeakbutton.cpp index cd765b0338..0b9c81dcc1 100644 --- a/indra/newview/llspeakbutton.cpp +++ b/indra/newview/llspeakbutton.cpp @@ -120,6 +120,8 @@ LLSpeakButton::LLSpeakButton(const Params& p) LLSpeakButton::~LLSpeakButton() { + LLTransientFloaterMgr::getInstance()->removeControlView(mSpeakBtn); + LLTransientFloaterMgr::getInstance()->removeControlView(mShowBtn); } void LLSpeakButton::setSpeakBtnToggleState(bool state) |