summaryrefslogtreecommitdiff
path: root/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
authorRoxie Linden <roxie@lindenlab.com>2010-02-25 21:20:45 -0800
committerRoxie Linden <roxie@lindenlab.com>2010-02-25 21:20:45 -0800
commit5c73a908353cdd7210e3148f7162d30afab7873a (patch)
tree3ff858042b69b20a9eb3062b7cabd0c390e1b5cf /indra/newview/llappviewer.cpp
parent9b05fecbf6b3d65dae5a010fc35821dc116a44d0 (diff)
parent5eee046bb7d62e24df6c35018b3c5383f87ab587 (diff)
automated merge
Diffstat (limited to 'indra/newview/llappviewer.cpp')
-rw-r--r--indra/newview/llappviewer.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 4da49862c8..92c8f1e5ce 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -2845,7 +2845,14 @@ static LLNotificationFunctorRegistration finish_quit_reg("ConfirmQuit", finish_q
void LLAppViewer::userQuit()
{
- LLNotificationsUtil::add("ConfirmQuit");
+ if (gDisconnected)
+ {
+ requestQuit();
+ }
+ else
+ {
+ LLNotificationsUtil::add("ConfirmQuit");
+ }
}
static bool finish_early_exit(const LLSD& notification, const LLSD& response)