diff options
author | angela <angela@lindenlab.com> | 2010-03-04 10:35:51 +0800 |
---|---|---|
committer | angela <angela@lindenlab.com> | 2010-03-04 10:35:51 +0800 |
commit | f9815a6d13074cc3d1adda5aa41171f855097977 (patch) | |
tree | e960736102bb2a4f9cd46a6cbf7e04d4e0f0b187 /indra/newview/llavatarlist.cpp | |
parent | 06b5cd096f9125c8c9b472487e841c19f5e62015 (diff) | |
parent | 2b5ea03a40c7bdd5962dc25c807b4ce5abb49bde (diff) |
merge
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 ////////////////////////////////////////////////////////////////////////// |