mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 04:53:08 +00:00
Merge pull request #7 from kwsch/master
Update from upstream repo kwsch/PKHeX
This commit is contained in:
commit
b849aeb8de
1 changed files with 5 additions and 2 deletions
|
@ -2292,7 +2292,10 @@ namespace PKHeX.WinForms
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (PKX.getGender(CB_Form.Text) < 2)
|
else if (PKX.getGender(CB_Form.Text) < 2)
|
||||||
Label_Gender.Text = CB_Form.Text;
|
{
|
||||||
|
if (CB_Form.Items.Count == 2) // actually M/F; Pumpkaboo formes in German are S,M,L,XL
|
||||||
|
Label_Gender.Text = gendersymbols[PKX.getGender(CB_Form.Text)];
|
||||||
|
}
|
||||||
|
|
||||||
if (changingFields)
|
if (changingFields)
|
||||||
return;
|
return;
|
||||||
|
@ -2921,7 +2924,7 @@ namespace PKHeX.WinForms
|
||||||
|
|
||||||
private void updateGender()
|
private void updateGender()
|
||||||
{
|
{
|
||||||
int cg = Array.IndexOf(gendersymbols, Label_Gender.Text);
|
int cg = PKX.getGender(Label_Gender.Text);
|
||||||
int gt = SAV.Personal.getFormeEntry(WinFormsUtil.getIndex(CB_Species), CB_Form.SelectedIndex).Gender;
|
int gt = SAV.Personal.getFormeEntry(WinFormsUtil.getIndex(CB_Species), CB_Form.SelectedIndex).Gender;
|
||||||
|
|
||||||
int Gender;
|
int Gender;
|
||||||
|
|
Loading…
Reference in a new issue