summaryrefslogtreecommitdiff
path: root/indra/newview/llscreenchannel.cpp
diff options
context:
space:
mode:
authorVadim Savchuk <vsavchuk@productengine.com>2010-07-09 14:56:56 +0300
committerVadim Savchuk <vsavchuk@productengine.com>2010-07-09 14:56:56 +0300
commit67a06e4df25aecd688938d437cb6ed0d150171fa (patch)
tree015d206ec9e6e22c54c2780d2bc594d692e47d3b /indra/newview/llscreenchannel.cpp
parent222cd49ad556b883168b57c7f8839a4887864602 (diff)
parent0a2fc3e4b93c13854a1776456ebed7f53ceb67e8 (diff)
Merge from default branch
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llscreenchannel.cpp')
-rw-r--r--indra/newview/llscreenchannel.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llscreenchannel.cpp b/indra/newview/llscreenchannel.cpp
index ef89c07c60..40c99edecd 100644
--- a/indra/newview/llscreenchannel.cpp
+++ b/indra/newview/llscreenchannel.cpp
@@ -297,6 +297,12 @@ void LLScreenChannel::onToastDestroyed(LLToast* toast)
{
mStoredToastList.erase(it);
}
+
+ // if destroyed toast is hovered - reset hovered
+ if (mHoveredToast == toast)
+ {
+ mHoveredToast = NULL;
+ }
}