Fixed normal bug EXT-5833(Two context menus for empty group search results at once)

--HG--
branch : product-engine
meow-7.2.2
Eugene Mutavchi 2010-03-09 12:55:43 +02:00
parent f499260782
commit b52c1682a8
1 changed files with 1 additions and 1 deletions

View File

@ -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);