AcManager.Pages.AcSettings.AcSettingsPython.UpdateListBox C# (CSharp) Method

UpdateListBox() private method

private UpdateListBox ( ) : void
return void
        private void UpdateListBox() {
            _ignore = true;
            EnabledAppsListBox.SelectedItems.Clear();
            foreach (var item in Model.Apps.Where(x => Model.Python.IsActivated(x.Id)).ToList()) {
                EnabledAppsListBox.SelectedItems.Add(item);
            }
            _ignore = false;
        }