From a162496da9044e695bc306321da1fb278259b9c6 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Thu, 8 Oct 2009 22:48:02 -0400 Subject: DEV-40930: At app shutdown, clear LLModalDialog::sModalStack. Otherwise, any modal dialog still left open will crump on destruction with LL_ERRS. If we don't want the user to shut down the app with a modal dialog open, we should deal with it better than a popup that simply makes us look buggy. --- indra/llui/llmodaldialog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/llui/llmodaldialog.h') diff --git a/indra/llui/llmodaldialog.h b/indra/llui/llmodaldialog.h index 9d716a1880..863572fb5a 100644 --- a/indra/llui/llmodaldialog.h +++ b/indra/llui/llmodaldialog.h @@ -73,7 +73,8 @@ public: static void onAppFocusGained(); static S32 activeCount() { return sModalStack.size(); } - + static void shutdownModals(); + protected: void centerOnScreen(); -- cgit v1.2.3