Add missing research tab flag set

Closes #3187
This commit is contained in:
Kurt 2021-04-07 22:46:28 -07:00
parent 3e052987e2
commit f8a2bb3229

View file

@ -177,7 +177,9 @@ namespace PKHeX.WinForms
if (editing)
return;
editing = true;
if (FlagDict.TryGetValue((int)NUD_Flag.Value, out var chk))
var index = (int) NUD_Flag.Value;
Editor.Flags[index] = c_CustomFlag.Checked;
if (FlagDict.TryGetValue(index, out var chk))
chk.Checked = c_CustomFlag.Checked;
editing = false;
}