mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-02 14:36:54 -05:00
Fix super training level4 not being disabled
Thanks @Tsunamical ! Resolves #133
This commit is contained in:
@@ -145,7 +145,7 @@ private void B_None_Click(object sender, EventArgs e)
|
||||
}
|
||||
private void CHK_Secret_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
foreach (var c in TLP_SuperTrain.Controls.OfType<CheckBox>().Where(chk => Convert.ToInt16(chk.Name[14]+"") > 4))
|
||||
foreach (var c in TLP_SuperTrain.Controls.OfType<CheckBox>().Where(chk => Convert.ToInt16(chk.Name[14]+"") >= 4))
|
||||
{
|
||||
c.Enabled = CHK_Secret.Checked;
|
||||
if (!CHK_Secret.Checked)
|
||||
|
||||
Reference in New Issue
Block a user