summaryrefslogtreecommitdiff
path: root/indra/newview/llavatarlist.cpp
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2010-03-04 10:35:51 +0800
committerangela <angela@lindenlab.com>2010-03-04 10:35:51 +0800
commitf9815a6d13074cc3d1adda5aa41171f855097977 (patch)
treee960736102bb2a4f9cd46a6cbf7e04d4e0f0b187 /indra/newview/llavatarlist.cpp
parent06b5cd096f9125c8c9b472487e841c19f5e62015 (diff)
parent2b5ea03a40c7bdd5962dc25c807b4ce5abb49bde (diff)
merge
Diffstat (limited to 'indra/newview/llavatarlist.cpp')
-rw-r--r--indra/newview/llavatarlist.cpp9
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
//////////////////////////////////////////////////////////////////////////