summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-08-02 14:38:44 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-08-02 14:38:44 +0300
commit7c0993ef9eafedbcb83ac9ced1ac1ef83bdd02f5 (patch)
treec3450ca0bca8bfb42c3b262890b6c1c64924c80b /indra/newview
parent5d73bbef002378f6367807b2a64061f403a840eb (diff)
SL-15737 remove context menu for self in "Avatars nearby" list
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterperformance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloaterperformance.cpp b/indra/newview/llfloaterperformance.cpp
index 689205575b..e53154dd75 100644
--- a/indra/newview/llfloaterperformance.cpp
+++ b/indra/newview/llfloaterperformance.cpp
@@ -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);