summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterworldmap.cpp
diff options
context:
space:
mode:
authorDebi King (Dessie) <dessie@lindenlab.com>2011-08-15 12:21:59 -0400
committerDebi King (Dessie) <dessie@lindenlab.com>2011-08-15 12:21:59 -0400
commit45036820f85844093f3a2031cff10c6633926da4 (patch)
treeff20e352f2510e0945e29d2cd9bcba0957968fef /indra/newview/llfloaterworldmap.cpp
parent91eb63bdde50d3a75908909af0e23d54f5c2fd21 (diff)
parent0bee6c278ca6acd89f33bf0b32a80f1eaded7db4 (diff)
merged .hgtags
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;