diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-09-26 17:21:17 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2020-09-26 17:21:17 +0300 |
commit | 6d014dde5e02f1e2991020ab38dc12ba943ea833 (patch) | |
tree | efbacd6ca9fd3f7abfb35d338a6befb81cdd4bc3 /indra/newview | |
parent | 4ff5ad507a20eec241a154591872cd4005a981d6 (diff) |
SL-14007 Group icon in "About land" displays wrong icon
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llappviewer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 9c8d1e2228..4692600ccc 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -526,7 +526,8 @@ bool create_text_segment_icon_from_url_match(LLUrlMatch* match,LLTextBase* base) LLIconCtrl* icon; - if(gAgent.isInGroup(match_id, TRUE)) + if( match->getMenuName() == "menu_url_group.xml" // See LLUrlEntryGroup constructor + || gAgent.isInGroup(match_id, TRUE)) //This check seems unfiting, urls are either /agent or /group { LLGroupIconCtrl::Params icon_params; icon_params.group_id = match_id; |