diff options
author | Logan Dethrow <log@lindenlab.com> | 2011-08-12 14:24:00 -0400 |
---|---|---|
committer | Logan Dethrow <log@lindenlab.com> | 2011-08-12 14:24:00 -0400 |
commit | f73ec6a0378bb31500957e2e9d29ce9c48796831 (patch) | |
tree | 3dfac26b35957d7ba1f2668f26183544353ce3a5 /indra/newview/llfloaterworldmap.cpp | |
parent | cff5251f064005f213a905f6eb41b5b7ef8c954b (diff) | |
parent | a41e149642bba39a5dc9bae01a0ea3e6455f7471 (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 d5f0648f3b..98a14f72dc 100755 --- a/indra/newview/llfloaterworldmap.cpp +++ b/indra/newview/llfloaterworldmap.cpp @@ -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; |