diff options
author | Eugene Mutavchi <emutavchi@productengine.com> | 2010-03-09 12:55:43 +0200 |
---|---|---|
committer | Eugene Mutavchi <emutavchi@productengine.com> | 2010-03-09 12:55:43 +0200 |
commit | b52c1682a8c103d99e5ebc702b0bae28971e1886 (patch) | |
tree | babc683a7ca557bcff4937d57f192b991161d129 /indra | |
parent | f499260782a0c94c4f164a743da9d2690240dad7 (diff) |
Fixed normal bug EXT-5833(Two context menus for empty group search results at once)
--HG--
branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llgrouplist.cpp | 2 |
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); |