private void OnShowDropDisabledItemsChanged() { using (Monitor.Enter()) { GroupList = EligibleGroups.ToList(); SelectedGroup = GroupList[0]; // this is visibly slow, but the button shouldn't be spammed anyway OnSelectedGroupChanged(); UpdateBaseList(); UpdateBase(); } }
protected void Init() { GroupList = EligibleGroups.ToList(); SelectedGroup = GroupList[0]; }
public bool CheckGroupFilters(List <string> groupfilters) { return(groupfilters.All(group => EligibleGroups.Contains(group))); }