From 6ad09b875cd58aedcc5ce1c6edeea05adc16a633 Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Tue, 26 Jun 2012 15:14:33 -0400 Subject: PATH-773: correct update of grid and location selectors for arbitrary locations --- indra/newview/llstartup.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'indra') diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 1f94f0a22a..417419d13c 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -2828,16 +2828,14 @@ void LLStartUp::setStartSLURL(const LLSLURL& slurl) switch(slurl.getType()) { case LLSLURL::HOME_LOCATION: - gSavedSettings.setString("LoginLocation", LLSLURL::SIM_LOCATION_HOME); - break; case LLSLURL::LAST_LOCATION: - gSavedSettings.setString("LoginLocation", LLSLURL::SIM_LOCATION_LAST); + case LLSLURL::LOCATION: + gSavedSettings.setString("LoginLocation", LLSLURL::SIM_LOCATION_HOME); + LLPanelLogin::onUpdateStartSLURL(slurl); // updates grid if needed break; default: break; } - - LLPanelLogin::onUpdateStartSLURL(slurl); // updates grid if needed } /** -- cgit v1.2.3