diff options
author | Jacek Antonelli | 2009-05-24 02:59:24 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-05-24 02:59:40 -0500 |
commit | b2627d927f1642bea84b92adfccd9403676e1341 (patch) | |
tree | 07f069e63cfa633b9bd0d07b4eecc229ef67f974 /linden/indra/newview/llnotify.cpp | |
parent | Second Life viewer sources 1.23.1-RC (diff) | |
download | meta-impy-b2627d927f1642bea84b92adfccd9403676e1341.zip meta-impy-b2627d927f1642bea84b92adfccd9403676e1341.tar.gz meta-impy-b2627d927f1642bea84b92adfccd9403676e1341.tar.bz2 meta-impy-b2627d927f1642bea84b92adfccd9403676e1341.tar.xz |
Second Life viewer sources 1.23.2-RC
Diffstat (limited to 'linden/indra/newview/llnotify.cpp')
-rw-r--r-- | linden/indra/newview/llnotify.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/linden/indra/newview/llnotify.cpp b/linden/indra/newview/llnotify.cpp index da0029a..a119dc4 100644 --- a/linden/indra/newview/llnotify.cpp +++ b/linden/indra/newview/llnotify.cpp | |||
@@ -308,6 +308,11 @@ LLNotifyBox::LLNotifyBox(LLNotificationPtr notification, | |||
308 | 308 | ||
309 | sNotifyBoxCount++; | 309 | sNotifyBoxCount++; |
310 | 310 | ||
311 | if (sNotifyBoxCount <= 0) | ||
312 | { | ||
313 | llwarns << "A notification was mishandled. sNotifyBoxCount = " << sNotifyBoxCount << llendl; | ||
314 | } | ||
315 | |||
311 | // If this is the only notify box, don't show the next button | 316 | // If this is the only notify box, don't show the next button |
312 | if (sNotifyBoxCount == 1 | 317 | if (sNotifyBoxCount == 1 |
313 | && mNextBtn) | 318 | && mNextBtn) |
@@ -723,8 +728,6 @@ void LLNotifyBox::onClickButton(void* data) | |||
723 | response[button_name] = true; | 728 | response[button_name] = true; |
724 | } | 729 | } |
725 | self->mNotification->respond(response); | 730 | self->mNotification->respond(response); |
726 | |||
727 | self->close(); | ||
728 | } | 731 | } |
729 | 732 | ||
730 | 733 | ||