Run trim on input start locations, in case copy paste brought some spaces along for the ride

This commit is contained in:
Inusaito Sayori
2013-09-19 23:40:14 -04:00
parent 104099aed5
commit e9ca27322b

View File

@@ -1038,6 +1038,7 @@ void LLPanelLogin::onLocationSLURL()
{
LLComboBox* location_combo = getChild<LLComboBox>("start_location_combo");
std::string location = location_combo->getValue().asString();
LLStringUtil::trim(location);
LL_DEBUGS("AppInit")<<location<<LL_ENDL;
LLStartUp::setStartSLURL(location); // calls onUpdateStartSLURL, above