summaryrefslogtreecommitdiff
path: root/indra/newview/llgrouplist.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-03-09 13:21:39 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-03-09 13:21:39 +0000
commit6b3191a7bd9540364d76803f71079ab0f1db3545 (patch)
tree31bfa6fdd053d77a7eab5fdcc3bfdd047b47c3b9 /indra/newview/llgrouplist.cpp
parent7b029036339ae1770307ff33ccd5d540e2618748 (diff)
parentded6723781fa87954b4bba9bee98f9a50c6f9d82 (diff)
PE 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);