diff options
| author | Leslie Linden <leslie@lindenlab.com> | 2011-08-19 11:14:20 -0700 |
|---|---|---|
| committer | Leslie Linden <leslie@lindenlab.com> | 2011-08-19 11:14:20 -0700 |
| commit | cf4355851606c996ed8269ac709c8eaa5c9ccdef (patch) | |
| tree | aa465be3aeef1d70da09bc9bb37cc7f3ca4f185a /indra/newview/llfloaterworldmap.cpp | |
| parent | 504fabba1d8d2ffd1d3c43368cbd1a8522ca2ebc (diff) | |
| parent | e84f9acf761bd60a558682e87e053207bc9bc014 (diff) | |
Merge
Diffstat (limited to 'indra/newview/llfloaterworldmap.cpp')
| -rwxr-xr-x | indra/newview/llfloaterworldmap.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloaterworldmap.cpp b/indra/newview/llfloaterworldmap.cpp index 8e11d71048..137b5446cf 100755 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -1227,6 +1227,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; |
