summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpeople.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2013-02-13 15:08:49 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2013-02-13 15:08:49 +0200
commitf8e43b6f6682eb613b0dc1f257b47008c09cd7f1 (patch)
treeed759104edca36783b1c2db7138438e4e4db2b3f /indra/newview/llpanelpeople.cpp
parent5f08b0553328c3811eb7de3390d2b92a193294c8 (diff)
CHUI-765 FIXED User's name is added to the list in Nearby tab.
Diffstat (limited to 'indra/newview/llpanelpeople.cpp')
-rw-r--r--indra/newview/llpanelpeople.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llpanelpeople.cpp b/indra/newview/llpanelpeople.cpp
index 90e857265d..6667706333 100644
--- a/indra/newview/llpanelpeople.cpp
+++ b/indra/newview/llpanelpeople.cpp
@@ -1032,6 +1032,10 @@ void LLPanelPeople::onAvatarListDoubleClicked(LLUICtrl* ctrl)
}
LLUUID clicked_id = item->getAvatarId();
+ if(gAgent.getID() == clicked_id)
+ {
+ return;
+ }
#if 0 // SJB: Useful for testing, but not currently functional or to spec
LLAvatarActions::showProfile(clicked_id);