diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2009-09-11 22:14:57 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2009-09-11 22:14:57 -0400 |
commit | 8e0128c493bce16555b3a9132bd71b670c322d63 (patch) | |
tree | 7b99800c8c86d33fc12841435c60c9f836284a11 | |
parent | 08f3ea28f5681bbbd755947ec09970c11410bd0a (diff) |
QAR-1619: Reconcile LLFloaterTOS::onCancel() with viewer-2 version.
The viewer-2 onCancel() pops up a "MustAgreeToLogIn" notification. Make ours
do the same.
-rw-r--r-- | indra/newview/llfloatertos.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloatertos.cpp b/indra/newview/llfloatertos.cpp index d8aea2770f..8d2d48f1af 100644 --- a/indra/newview/llfloatertos.cpp +++ b/indra/newview/llfloatertos.cpp @@ -48,6 +48,7 @@ #include "lluictrlfactory.h" #include "llvfile.h" #include "message.h" +#include "llstartup.h" // login_alert_done LLFloaterTOS::LLFloaterTOS(const LLSD& data) @@ -206,6 +207,7 @@ void LLFloaterTOS::onCancel( void* userdata ) { LLFloaterTOS* self = (LLFloaterTOS*) userdata; llinfos << "User disagrees with TOS." << llendl; + LLNotifications::instance().add("MustAgreeToLogIn", LLSD(), LLSD(), login_alert_done); if(self->mReplyPumpName != "") { |