Fix HaX Mode (#1869)

- Pass HaX to StatEditor once everything else loads
- Fix Hacked Stats enabled check
This commit is contained in:
ReignOfComputer 2018-03-19 23:10:20 +08:00 committed by Kurt
parent 430938d131
commit d41df2420f
2 changed files with 2 additions and 1 deletions

View file

@ -127,6 +127,7 @@ namespace PKHeX.WinForms.Controls
public void InitializeFields()
{
// Now that the ComboBoxes are ready, load the data.
Stats.SetMainEditor(this);
FieldsInitialized = true;
PopulateFields(pkm);
}

View file

@ -158,7 +158,7 @@ namespace PKHeX.WinForms.Controls
private void UpdateHackedStats(object sender, EventArgs e)
{
foreach (var s in MT_Stats)
s.Enabled = CHK_HackedStats.Enabled;
s.Enabled = CHK_HackedStats.Checked;
if (!CHK_HackedStats.Checked)
UpdateStats();
}