summaryrefslogtreecommitdiff
path: root/indra/newview/llbottomtray.cpp
diff options
context:
space:
mode:
authorSteve Bennetts <steve@lindenlab.com>2009-12-03 12:15:47 -0800
committerSteve Bennetts <steve@lindenlab.com>2009-12-03 12:15:47 -0800
commita0b4aa14d8c4678f78d78daf5cca4ace569fbf9b (patch)
treef03832d7e61704a57aad25311bc6076c7b8bc565 /indra/newview/llbottomtray.cpp
parenta5c5a6598c530f968bf5ed45a03d8ddd23abef9c (diff)
parentebdb78ef3b25247fd86f48833004b4254ca8e360 (diff)
Merge from product-engine
Diffstat (limited to 'indra/newview/llbottomtray.cpp')
-rw-r--r--indra/newview/llbottomtray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp
index 96c06b1665..6d3d61d4fe 100644
--- a/indra/newview/llbottomtray.cpp
+++ b/indra/newview/llbottomtray.cpp
@@ -391,7 +391,7 @@ bool LLBottomTray::onContextMenuItemEnabled(const LLSD& userdata)
}
else if (item == "can_select_all")
{
- return edit_box->canSelectAll();
+ return edit_box->canSelectAll() && (edit_box->getLength()>0);
}
return true;
}