From d587c77e90947385402c786c045ceaed11f90e1a Mon Sep 17 00:00:00 2001 From: Denis Serdjuk Date: Wed, 3 Mar 2010 11:39:44 +0200 Subject: Low Bug EXT-5752 Trash button in people panel remains enabled after removing last friend Cause: Avatarlist has been hidden before it had been updated. So one listitem was left in the list and remained always selected. Solution: Force update ability has been added to avatarlist --HG-- branch : product-engine --- indra/newview/llavatarlist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llavatarlist.h') diff --git a/indra/newview/llavatarlist.h b/indra/newview/llavatarlist.h index 0e4215e91a..00c72f1f9d 100644 --- a/indra/newview/llavatarlist.h +++ b/indra/newview/llavatarlist.h @@ -73,7 +73,7 @@ public: virtual void clear(); void setNameFilter(const std::string& filter); - void setDirty(bool val = true) { mDirty = val; } + void setDirty(bool val = true, bool force_refresh = false); uuid_vector_t& getIDs() { return mIDs; } bool contains(const LLUUID& id); -- cgit v1.2.3