diff options
author | Richard Linden <none@none> | 2012-02-10 20:09:48 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-02-10 20:09:48 -0800 |
commit | 51a8134f62ff0705ede2534945e808ccbd9d6b7e (patch) | |
tree | 6a6679ebe20229dada9ce6dbf6f219dd1c2d0753 /indra/newview/lltoast.cpp | |
parent | 5cfedfe4db3639863cf0cd0ae90e8b6a58a221dd (diff) |
EXP-1885 FIX Viewer crashes when receiving multiple inventory offer notifications
Diffstat (limited to 'indra/newview/lltoast.cpp')
-rw-r--r-- | indra/newview/lltoast.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/indra/newview/lltoast.cpp b/indra/newview/lltoast.cpp index cdc611f7af..0eec7f0afd 100644 --- a/indra/newview/lltoast.cpp +++ b/indra/newview/lltoast.cpp @@ -180,11 +180,14 @@ LLToast::~LLToast() //-------------------------------------------------------------------------- void LLToast::hide() { - setVisible(FALSE); - setFading(false); - mTimer->stop(); - mIsHidden = true; - mOnFadeSignal(this); + if (!mIsHidden) + { + setVisible(FALSE); + setFading(false); + mTimer->stop(); + mIsHidden = true; + mOnFadeSignal(this); + } } void LLToast::onFocusLost() |