summaryrefslogtreecommitdiff
path: root/indra/newview/lltoastnotifypanel.cpp
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-05-12 16:46:58 -0400
committerLoren Shih <seraph@lindenlab.com>2010-05-12 16:46:58 -0400
commit86f6827bf9073fbe533b63a8894d6a49824411a3 (patch)
tree2dc6aaece6ecc845b2bf375f148713e28da0660d /indra/newview/lltoastnotifypanel.cpp
parentee53b612fb44b158c10fd949f223f80905a37ce4 (diff)
parent265391fb3f88a97c5af868f3712bb7b06ad630c1 (diff)
automated merge
Diffstat (limited to 'indra/newview/lltoastnotifypanel.cpp')
-rw-r--r--indra/newview/lltoastnotifypanel.cpp5
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);
+ }
}
}