Fix names not loading on group ban list on first open

Ansariel 2017-12-19 00:29:14 +01:00
parent 4f0220e0fa
commit 85ccff4e8a
1 changed files with 2 additions and 1 deletions

View File

@ -3099,7 +3099,8 @@ BOOL LLPanelGroupBanListSubTab::postBuildSubTab(LLView* root)
// <FS:Ansariel> Fix Baker's NameListCtrl un-fix
//mBanList->setOnNameListCompleteCallback(boost::bind(&LLPanelGroupBanListSubTab::onBanListCompleted, this, _1));
populateBanList();
// <FS:Ansariel> Don't do this - it will cause populateBanList() being called twice because activate() is being called when switching to a tab, also calling populateBanList()
//populateBanList();
setFooterEnabled(FALSE);
return TRUE;