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-engine
meow-7.2.2
Yuri Chebotarev 2010-05-27 20:20:09 +03:00
parent a83ec740e4
commit 580dc21ecf
1 changed files with 6 additions and 0 deletions

View File

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