[Radar] Correct a flaw in which initialization of the avatar list would just be a refresh of the gui

Without first populating the list, this was pretty much nothing doing, now the list will populate initially.
Previously, it could be that opening and closing the radar (when not in announce even when closed mode) would yield an empty radar should the sim have been stingy or the connection been rather latent.
This commit is contained in:
Inusaito Sayori
2015-07-15 23:00:44 -04:00
parent 0843505fae
commit 770f46157b

View File

@@ -411,7 +411,10 @@ BOOL LLFloaterAvatarList::postBuild()
mAvatarList->setCommitCallback(boost::bind(&LLFloaterAvatarList::onSelectName,this));
mAvatarList->setDoubleClickCallback(boost::bind(&LLFloaterAvatarList::onClickFocus,this));
mAvatarList->setSortChangedCallback(boost::bind(&LLFloaterAvatarList::onAvatarSortingChanged,this));
refreshAvatarList();
BOOST_FOREACH(LLViewerRegion* region, LLWorld::instance().getRegionList())
{
updateAvatarList(region);
}
assessColumns();