diff options
author | Oz Linden <oz@lindenlab.com> | 2011-08-11 16:31:19 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-08-11 16:31:19 -0400 |
commit | f452138f29fa58f618a8f0be5346fc06035c5943 (patch) | |
tree | 078b5e008c96636f55138783c9b4e68aedcb5beb | |
parent | 3e47d9aea9193b6073ab8cfd67a16a101ffcbdc0 (diff) | |
parent | ba475c35eba02b370088f8efb41edc21390cf4dc (diff) |
merge changes for storm-1427
-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; |