diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-05-12 16:46:58 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-05-12 16:46:58 -0400 |
commit | 86f6827bf9073fbe533b63a8894d6a49824411a3 (patch) | |
tree | 2dc6aaece6ecc845b2bf375f148713e28da0660d /indra/newview/lltoastnotifypanel.cpp | |
parent | ee53b612fb44b158c10fd949f223f80905a37ce4 (diff) | |
parent | 265391fb3f88a97c5af868f3712bb7b06ad630c1 (diff) |
automated merge
Diffstat (limited to 'indra/newview/lltoastnotifypanel.cpp')
-rw-r--r-- | indra/newview/lltoastnotifypanel.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/lltoastnotifypanel.cpp b/indra/newview/lltoastnotifypanel.cpp index 089163929e..9275ca4f42 100644 --- a/indra/newview/lltoastnotifypanel.cpp +++ b/indra/newview/lltoastnotifypanel.cpp @@ -291,7 +291,10 @@ LLToastNotifyPanel::~LLToastNotifyPanel() { // let reusable notification be deleted mNotification->setReusable(false); - LLNotifications::getInstance()->cancel(mNotification); + if (!mNotification->isPersistent()) + { + LLNotifications::getInstance()->cancel(mNotification); + } } } |