diff options
author | Don Kjer <don@lindenlab.com> | 2010-12-15 15:47:09 -0800 |
---|---|---|
committer | Don Kjer <don@lindenlab.com> | 2010-12-15 15:47:09 -0800 |
commit | b0ee1c818aa779edbb57f70b723132ce8d7347f7 (patch) | |
tree | 3bc9bac8b1403e0eb6eb7be7d7f07d4946f2ce8c /indra/newview/llscreenchannel.cpp | |
parent | c3958f75d2ef6c998d99e8e97e76e4de0468ecef (diff) | |
parent | 3e1f2083abe31d54b4b57ac7e8479b79461f6062 (diff) |
Merge from don_linden/viewer-sandbox
Diffstat (limited to 'indra/newview/llscreenchannel.cpp')
-rw-r--r-- | indra/newview/llscreenchannel.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/indra/newview/llscreenchannel.cpp b/indra/newview/llscreenchannel.cpp index 9e0e10d66f..0eeb89792b 100644 --- a/indra/newview/llscreenchannel.cpp +++ b/indra/newview/llscreenchannel.cpp @@ -595,20 +595,15 @@ void LLScreenChannel::showToastsBottom() } } + // Dismiss toasts we don't have space for (STORM-391). if(it != mToastList.rend()) { mHiddenToastsNum = 0; for(; it != mToastList.rend(); it++) { - (*it).toast->stopTimer(); - (*it).toast->setVisible(FALSE); - mHiddenToastsNum++; + (*it).toast->hide(); } } - else - { - closeOverflowToastPanel(); - } } //-------------------------------------------------------------------------- @@ -731,7 +726,6 @@ void LLNotificationsUI::LLScreenChannel::startToastTimer(LLToast* toast) //-------------------------------------------------------------------------- void LLScreenChannel::hideToastsFromScreen() { - closeOverflowToastPanel(); for(std::vector<ToastElem>::iterator it = mToastList.begin(); it != mToastList.end(); it++) (*it).toast->setVisible(FALSE); } |