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]; }