summaryrefslogtreecommitdiff
path: root/indra/newview/llgrouplist.cpp
diff options
context:
space:
mode:
authorEli Linden <eli@lindenlab.com>2010-03-09 11:11:44 -0800
committerEli Linden <eli@lindenlab.com>2010-03-09 11:11:44 -0800
commitbc5c41d710997dee9ffa83ce81639fe833684fee (patch)
treee3ec6c3a0dabd71d25ae0341f9178bd3b6996cdd /indra/newview/llgrouplist.cpp
parent5877ddc62331e4cd268e7305f21b548c50ae389c (diff)
parentb21e89395ae168c86b7315e7bfc0eff0e17122f9 (diff)
Merge
Diffstat (limited to 'indra/newview/llgrouplist.cpp')
-rw-r--r--indra/newview/llgrouplist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llgrouplist.cpp b/indra/newview/llgrouplist.cpp
index bcfb516b81..8a056f836f 100644
--- a/indra/newview/llgrouplist.cpp
+++ b/indra/newview/llgrouplist.cpp
@@ -127,7 +127,7 @@ BOOL LLGroupList::handleRightMouseDown(S32 x, S32 y, MASK mask)
BOOL handled = LLUICtrl::handleRightMouseDown(x, y, mask);
LLMenuGL* context_menu = (LLMenuGL*)mContextMenuHandle.get();
- if (context_menu)
+ if (context_menu && size() > 0)
{
context_menu->buildDrawLabels();
context_menu->updateParent(LLMenuGL::sMenuContainer);