merge changes for storm-1427

meow-7.2.2
Oz Linden 2011-08-11 16:31:19 -04:00
commit f452138f29
1 changed files with 6 additions and 0 deletions

View File

@ -1221,6 +1221,12 @@ void LLFloaterWorldMap::onLocationCommit()
{ // Set the value in the UI if any spaces were removed
getChild<LLUICtrl>("location")->setValue(str);
}
// Don't try completing empty name (STORM-1427).
if (str.empty())
{
return;
}
LLStringUtil::toLower(str);
mCompletingRegionName = str;