summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterworldmap.cpp
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-08-12 14:24:00 -0400
committerLogan Dethrow <log@lindenlab.com>2011-08-12 14:24:00 -0400
commitf73ec6a0378bb31500957e2e9d29ce9c48796831 (patch)
tree3dfac26b35957d7ba1f2668f26183544353ce3a5 /indra/newview/llfloaterworldmap.cpp
parentcff5251f064005f213a905f6eb41b5b7ef8c954b (diff)
parenta41e149642bba39a5dc9bae01a0ea3e6455f7471 (diff)
merge
Diffstat (limited to 'indra/newview/llfloaterworldmap.cpp')
-rwxr-xr-xindra/newview/llfloaterworldmap.cpp6
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;