diff options
author | Andrew Polunin <apolunin@productengine.com> | 2009-11-06 17:00:26 +0200 |
---|---|---|
committer | Andrew Polunin <apolunin@productengine.com> | 2009-11-06 17:00:26 +0200 |
commit | 30fe1aa19715076be2cef2f3cf78a79b6343c9ba (patch) | |
tree | bdf8483ab37d3df30e2dd9403242aaec4d7dc9fa /indra/newview/llgrouplist.cpp | |
parent | 4b804902229f610156920333dfb18f2f3fabf12b (diff) |
fixed normal bug EXT-2193 Group Profile, Group Chat bttns and Profile chevron are enabled for None Group
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llgrouplist.cpp')
-rw-r--r-- | indra/newview/llgrouplist.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llgrouplist.cpp b/indra/newview/llgrouplist.cpp index 2e2b2d5101..010ed23918 100644 --- a/indra/newview/llgrouplist.cpp +++ b/indra/newview/llgrouplist.cpp @@ -183,6 +183,11 @@ void LLGroupList::addNewItem(const LLUUID& id, const std::string& name, const LL item->childSetVisible("info_btn", false); item->setGroupIconVisible(mShowIcons); + if (id.isNull()) + { + item->childSetVisible("profile_btn", false); + } + addItem(item, id, pos); // setCommentVisible(false); |