diff options
author | Ychebotarev ProductEngine <ychebotarev@productengine.com> | 2010-03-03 12:43:53 +0200 |
---|---|---|
committer | Ychebotarev ProductEngine <ychebotarev@productengine.com> | 2010-03-03 12:43:53 +0200 |
commit | 57d498850e4047481c2bcaf356d88b8e99511dc0 (patch) | |
tree | ec836a380a83b7ff72224c2d31c8598a4acb4124 /indra/newview/llavatarlist.cpp | |
parent | 9180edf9c0d6e9d0600659709cead3ab17d6b7e3 (diff) | |
parent | bb8071e448c5d35a87cff965a76347732579cbed (diff) |
merge
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llavatarlist.cpp')
-rw-r--r-- | indra/newview/llavatarlist.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llavatarlist.cpp b/indra/newview/llavatarlist.cpp index 50d8672083..45c540b3a3 100644 --- a/indra/newview/llavatarlist.cpp +++ b/indra/newview/llavatarlist.cpp @@ -183,6 +183,15 @@ void LLAvatarList::sortByName() sort(); } +void LLAvatarList::setDirty(bool val /*= true*/, bool force_refresh /*= false*/) +{ + mDirty = val; + if(mDirty && force_refresh) + { + refresh(); + } +} + ////////////////////////////////////////////////////////////////////////// // PROTECTED SECTION ////////////////////////////////////////////////////////////////////////// |