summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-03-23 17:02:23 -0700
committerRichard Linden <none@none>2011-03-23 17:02:23 -0700
commit9c82ea334ab0c1283f28997fe060b24200e3e2be (patch)
tree10ca3bf310f4475289f91279eb278027d4c1dcdc /indra/newview/llviewerwindow.cpp
parentc7f796c366dc863259b30ac2f5b57cf2832e6ff2 (diff)
SOCIAL-714 FIX [PUBLIC] Basic mode to launch with Destinations panel open by default
Diffstat (limited to 'indra/newview/llviewerwindow.cpp')
-rw-r--r--indra/newview/llviewerwindow.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index b71eebc30f..faf4e8b3fc 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -1801,11 +1801,8 @@ void LLViewerWindow::initWorldUI()
avatar_picker->navigateTo(gSavedSettings.getString("AvatarPickerURL"), "text/html");
}
- if (gSavedSettings.getBOOL("FirstLoginThisInstall"))
- {
- toggle_destination_and_avatar_picker(0);
- gSavedSettings.setBOOL("FirstLoginThisInstall", FALSE);
- }
+ // show destinations by default
+ toggle_destination_and_avatar_picker(gSavedSettings.getS32("DestinationsAndAvatarsVisibility"));
}
// Destroy the UI