Run trim on input start locations, in case copy paste brought some spaces along for the ride
This commit is contained in:
@@ -1038,6 +1038,7 @@ void LLPanelLogin::onLocationSLURL()
|
|||||||
{
|
{
|
||||||
LLComboBox* location_combo = getChild<LLComboBox>("start_location_combo");
|
LLComboBox* location_combo = getChild<LLComboBox>("start_location_combo");
|
||||||
std::string location = location_combo->getValue().asString();
|
std::string location = location_combo->getValue().asString();
|
||||||
|
LLStringUtil::trim(location);
|
||||||
LL_DEBUGS("AppInit")<<location<<LL_ENDL;
|
LL_DEBUGS("AppInit")<<location<<LL_ENDL;
|
||||||
|
|
||||||
LLStartUp::setStartSLURL(location); // calls onUpdateStartSLURL, above
|
LLStartUp::setStartSLURL(location); // calls onUpdateStartSLURL, above
|
||||||
|
|||||||
Reference in New Issue
Block a user