Fixed normal bug EXT-5833(Two context menus for empty group search results at once)
--HG-- branch : product-enginemeow-7.2.2
parent
f499260782
commit
b52c1682a8
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue