Skip to content
Snippets Groups Projects
Commit 7c0993ef authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

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

parent 5d73bbef
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment