Skip to content
Snippets Groups Projects
Commit 8e0128c4 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

QAR-1619: Reconcile LLFloaterTOS::onCancel() with viewer-2 version.

The viewer-2 onCancel() pops up a "MustAgreeToLogIn" notification. Make ours
do the same.
parent 08f3ea28
No related branches found
No related tags found
No related merge requests found
......@@ -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 != "")
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment