SL-15737 remove context menu for self in "Avatars nearby" list

master
Mnikolenko Productengine 2021-08-02 14:38:44 +03:00
parent 5d73bbef00
commit 7c0993ef9e
1 changed files with 1 additions and 1 deletions

View File

@ -554,7 +554,7 @@ void LLFloaterPerformance::onAvatarListRightClick(LLUICtrl* ctrl, S32 x, S32 y)
list->selectItemAt(x, y, MASK_NONE);
uuid_vec_t selected_uuids;
if(list->getCurrentID().notNull())
if((list->getCurrentID().notNull()) && (list->getCurrentID() != gAgentID))
{
selected_uuids.push_back(list->getCurrentID());
mContextMenu->show(ctrl, selected_uuids, x, y);