diff options
author | Richard Linden <none@none> | 2011-03-19 00:59:17 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2011-03-19 00:59:17 -0700 |
commit | 2a83929a585ddb123813370df0d53c19817ef3ba (patch) | |
tree | 83de8a39ea380deb521af1553f876485009cd7ef /indra/newview/llviewerwindow.cpp | |
parent | 35c39d92e732c7e377697480a073995dd0a6fe7c (diff) |
SOCIAL-762 FIX Viewer crash if first startup (with cleared settings.xml file) is in Advanced mode
fixed not being able to change to advanced mode on clean install without logging in
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r-- | indra/newview/llviewerwindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index bae7b7086a..aa83bcb68b 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1799,12 +1799,11 @@ void LLViewerWindow::initWorldUI() avatar_picker->navigateTo(gSavedSettings.getString("AvatarPickerURL"), "text/html"); } - if (gSavedSettings.getBOOL("FirstRunThisInstall")) + if (gSavedSettings.getBOOL("FirstLoginThisInstall")) { toggle_destination_and_avatar_picker(0); + gSavedSettings.setBOOL("FirstLoginThisInstall", FALSE); } - - gSavedSettings.setBOOL("FirstRunThisInstall", FALSE); } // Destroy the UI |