summaryrefslogtreecommitdiff
path: root/indra/newview/llstartup.cpp
diff options
context:
space:
mode:
authorLynx Linden <lynx@lindenlab.com>2010-02-04 00:32:53 +0000
committerLynx Linden <lynx@lindenlab.com>2010-02-04 00:32:53 +0000
commitfe5dc0351c810ba3c13d7c0c81adf910451e2293 (patch)
treeed739a5443b54c600fd9db1c0357c02787fad820 /indra/newview/llstartup.cpp
parent98a4d472bed18e11d71631e7c0cc9abd29b9a5d2 (diff)
EXT-4237: Don't show Start Up pulldown until successful login.
Previously any login attempt, even a failed one, would cause the Start Up pulldown to appear. Now only a successful login will cause this to happen. Also renamed the setting FirstRunThisInstall to the more accurate HadFirstSuccessfulLogin (and inverted its logic). Reviewed by Mani.
Diffstat (limited to 'indra/newview/llstartup.cpp')
-rw-r--r--indra/newview/llstartup.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp
index 522adc05ce..5cca87bd71 100644
--- a/indra/newview/llstartup.cpp
+++ b/indra/newview/llstartup.cpp
@@ -773,8 +773,6 @@ bool idle_startup()
LLPanelLogin::giveFocus();
- gSavedSettings.setBOOL("FirstRunThisInstall", FALSE);
-
LLStartUp::setStartupState( STATE_LOGIN_WAIT ); // Wait for user input
}
else
@@ -2012,6 +2010,9 @@ bool idle_startup()
LLStartUp::setStartupState( STATE_STARTED );
+ // Mark that we have successfully logged in at least once
+ gSavedSettings.setBOOL("HadFirstSuccessfulLogin", TRUE);
+
// Unmute audio if desired and setup volumes.
// Unmute audio if desired and setup volumes.
// This is a not-uncommon crash site, so surround it with