From 8efb37cd3de20b1fbcdf3cca286da292a4434be9 Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Sun, 17 Jun 2012 21:41:29 +0200 Subject: [PATCH] fix: custom start location "randomly" reset --- indra/newview/llpanellogin.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index b5662d997b..ec74dac698 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -494,7 +494,12 @@ void LLPanelLogin::setFields(LLPointer credential) - if(identifier.has("startlocation")){ +// +// if(identifier.has("startlocation")){ + LLSLURL slurl = LLSLURL(sInstance->getChild("start_location_combo")->getValue()); + if(LLSLURL::LOCATION != slurl.getType() && identifier.has("startlocation")) + { +// llinfos << "Settings startlocation to: " << identifier["startlocation"].asString() << llendl; LLStartUp::setStartSLURL(LLSLURL(identifier["startlocation"].asString())); updateLocationCombo(false);