diff options
author | Eli Linden <eli@lindenlab.com> | 2010-03-03 12:10:00 -0800 |
---|---|---|
committer | Eli Linden <eli@lindenlab.com> | 2010-03-03 12:10:00 -0800 |
commit | e47d107e2f7c4793f0685aa37749629f7d91aef0 (patch) | |
tree | 740e36a63f6576bdf5c180ca8b59796ae5f1cf49 /indra/newview/llavatarlist.cpp | |
parent | ece36d5df8d0a7fb4c71ec50a0bac49a5c6fbacb (diff) | |
parent | 2ecc98cb2f11b03224990d498d20cff8bcfb0716 (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 ////////////////////////////////////////////////////////////////////////// |