diff options
author | Oz Linden <oz@lindenlab.com> | 2012-06-26 15:14:33 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-06-26 15:14:33 -0400 |
commit | 6ad09b875cd58aedcc5ce1c6edeea05adc16a633 (patch) | |
tree | 40711880d14a36eca3fa99baf6f8ffb3fff73fce /indra | |
parent | ec730b66004bf9120bb5ee3eba59f0253a78d364 (diff) |
PATH-773: correct update of grid and location selectors for arbitrary locations
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llstartup.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
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 } /** |