summaryrefslogtreecommitdiff
path: root/indra/newview/llgroupmgr.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2009-12-11 12:24:19 +0200
committerYuri Chebotarev <ychebotarev@productengine.com>2009-12-11 12:24:19 +0200
commite699dcb0c9ea378682d0d0cfbbb933f9e5c94332 (patch)
tree3d0a850ca7e56de8321080c29efb3b0480e782c6 /indra/newview/llgroupmgr.cpp
parent791465bab968a738568ddf0abaa5fa6766eb020d (diff)
fix for normall bug EXT-3245 Icon of group in list in "Group" tab is refreshed only after restarting Viewer
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llgroupmgr.cpp')
-rw-r--r--indra/newview/llgroupmgr.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llgroupmgr.cpp b/indra/newview/llgroupmgr.cpp
index ebb5feb2bf..af58e81ca4 100644
--- a/indra/newview/llgroupmgr.cpp
+++ b/indra/newview/llgroupmgr.cpp
@@ -758,7 +758,8 @@ void LLGroupMgr::clearGroupData(const LLUUID& group_id)
void LLGroupMgr::addObserver(LLGroupMgrObserver* observer)
{
- mObservers.insert(std::pair<LLUUID, LLGroupMgrObserver*>(observer->getID(), observer));
+ if( observer->getID() != LLUUID::null )
+ mObservers.insert(std::pair<LLUUID, LLGroupMgrObserver*>(observer->getID(), observer));
}
void LLGroupMgr::removeObserver(LLGroupMgrObserver* observer)