summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-09-21 13:57:58 -0700
committerRichard Linden <none@none>2010-09-21 13:57:58 -0700
commit9479c872746074d27d245b2af2d17a760a927915 (patch)
treeed395bb1be25e5445e363a3eec93f5900570a88f
parent71259fcccbfa834eab35eb3e98a7afc93786b32f (diff)
FIX crash when clicking on MOTD
-rw-r--r--indra/newview/llprogressview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llprogressview.cpp b/indra/newview/llprogressview.cpp
index c6bd600403..e9504cbba0 100644
--- a/indra/newview/llprogressview.cpp
+++ b/indra/newview/llprogressview.cpp
@@ -297,7 +297,7 @@ bool LLProgressView::onAlertModal(const LLSD& notify)
{
// if the progress view is visible, it will obscure the notification window
// in this case, we want to auto-accept WebLaunchExternalTarget notifications
- if (isInVisibleChain())
+ if (isInVisibleChain() && notify["sigtype"].asString() == "add")
{
LLNotificationPtr notifyp = LLNotifications::instance().find(notify["id"].asUUID());
if (notifyp && notifyp->getName() == "WebLaunchExternalTarget")