summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llstartup.cpp8
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
}
/**