diff --git a/PKHeX.WinForms/Subforms/SAV_MysteryGiftDB.cs b/PKHeX.WinForms/Subforms/SAV_MysteryGiftDB.cs index 60fc31d00..4630a7aea 100644 --- a/PKHeX.WinForms/Subforms/SAV_MysteryGiftDB.cs +++ b/PKHeX.WinForms/Subforms/SAV_MysteryGiftDB.cs @@ -200,12 +200,10 @@ private void PopulateComboBoxes() var comboAny = new ComboItem(MsgAny, -1); var source = GameInfo.FilteredSources; - var species = new List(source.Species) - { - [0] = comboAny // Replace the first item with "Any" - }; - var filteredSpecies = species.Where(z => RawDB.Any(mg => mg.Species == z.Value)).ToList(); - CB_Species.DataSource = filteredSpecies; + var species = new List(source.Species); + species.RemoveAll(z => RawDB.All(mg => mg.Species != z.Value)); + species.Insert(0, comboAny); + CB_Species.DataSource = species; var items = new List(source.Items); items.Insert(0, comboAny); CB_HeldItem.DataSource = items;