Fix form clearing on load

y tho
This commit is contained in:
Kaphotics
2016-07-27 19:25:36 -07:00
parent 2f25fa99d9
commit 7f2dd7a3a4

View File

@@ -1629,7 +1629,8 @@ private void update255_MTB(object sender, EventArgs e)
}
private void updateForm(object sender, EventArgs e)
{
pkm.AltForm = CB_Form.SelectedIndex;
if (CB_Form == sender && fieldsLoaded)
pkm.AltForm = CB_Form.SelectedIndex;
updateStats();
// Repopulate Abilities if Species Form has different abilities
setAbilityList();