summaryrefslogtreecommitdiff
path: root/indra/newview/lllocationinputctrl.cpp
diff options
context:
space:
mode:
authorskolb <none@none>2009-12-03 14:33:38 -0800
committerskolb <none@none>2009-12-03 14:33:38 -0800
commitfaa188322a72b86b6a167834a4d2cd664da112bc (patch)
treed498ee9f8642cf17d0b4555b0ad02db42ec73bb2 /indra/newview/lllocationinputctrl.cpp
parentec34503e0193514ffbb1ccb1249013adb0a9e320 (diff)
parent4535fd64fbee1ee0dd3bfe54c090cfa9c56a11b6 (diff)
Merge
Diffstat (limited to 'indra/newview/lllocationinputctrl.cpp')
-rw-r--r--indra/newview/lllocationinputctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp
index d97f1d4d18..09c215e660 100644
--- a/indra/newview/lllocationinputctrl.cpp
+++ b/indra/newview/lllocationinputctrl.cpp
@@ -896,7 +896,7 @@ bool LLLocationInputCtrl::onLocationContextMenuItemEnabled(const LLSD& userdata)
}
else if (item == "can_select_all")
{
- return mTextEntry->canSelectAll();
+ return mTextEntry->canSelectAll() && (mTextEntry->getLength() > 0);
}
else if(item == "show_coordinates")
{