EXT-7389 FIX disable menu item if more then one person is selected.
reviewed by Vadim Savchuk at https://codereview.productengine.com/secondlife/r/447/ --HG-- branch : product-enginemeow-7.2.2
parent
a83ec740e4
commit
580dc21ecf
|
|
@ -115,6 +115,12 @@ bool NearbyMenu::enableContextMenuItem(const LLSD& userdata)
|
|||
// - there are selected people
|
||||
// - and there are no friends among selection yet.
|
||||
|
||||
//EXT-7389 - disable for more than 1
|
||||
if(mUUIDs.size() > 1)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool result = (mUUIDs.size() > 0);
|
||||
|
||||
uuid_vec_t::const_iterator
|
||||
|
|
|
|||
Loading…
Reference in New Issue