mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-23 12:33:06 +00:00
parent
e810e7c430
commit
ab5a0a7a3a
1 changed files with 3 additions and 0 deletions
|
@ -1569,9 +1569,12 @@ namespace PKHeX.WinForms
|
|||
if (!ability_list.Any())
|
||||
ability_list.Add(GameInfo.Strings.abilitylist[0] + abilIdentifier[0]);
|
||||
|
||||
bool tmp = fieldsLoaded;
|
||||
fieldsLoaded = false;
|
||||
int abil = CB_Ability.SelectedIndex;
|
||||
CB_Ability.DataSource = ability_list;
|
||||
CB_Ability.SelectedIndex = abil < 0 || abil >= CB_Ability.Items.Count ? 0 : abil;
|
||||
fieldsLoaded = tmp;
|
||||
}
|
||||
// PKX Data Calculation Functions //
|
||||
private void setIsShiny(object sender)
|
||||
|
|
Loading…
Reference in a new issue