From 19e9e4e76120f13b901ae613ca582e2e2641a3bb Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 6 Jun 2018 18:59:01 -0700 Subject: [PATCH] Update form gender update #1982 --- PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs b/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs index 1bf438b8c..25caff668 100644 --- a/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs +++ b/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs @@ -817,7 +817,6 @@ namespace PKHeX.WinForms.Controls if (CB_Form == sender && FieldsLoaded) pkm.AltForm = CB_Form.SelectedIndex; - UpdateGender(); Stats.UpdateStats(); // Repopulate Abilities if Species Form has different abilities SetAbilityList(); @@ -844,8 +843,13 @@ namespace PKHeX.WinForms.Controls else if (PKX.GetGenderFromString(CB_Form.Text) < 2) { if (CB_Form.Items.Count == 2) // actually M/F; Pumpkaboo formes in German are S,M,L,XL - Label_Gender.Text = gendersymbols[PKX.GetGenderFromString(CB_Form.Text)]; + { + pkm.Gender = CB_Form.SelectedIndex; + UpdateGender(); + } } + else + UpdateGender(); if (ChangingFields) return;