mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +00:00
Manually trigger form validation before loading SAV
Closes #2595 loading a new pkm template triggered the validation after the save reference is swapped but the fields haven't been loaded not gonna bother untangling things at this time
This commit is contained in:
parent
ce463d057a
commit
ff61c66a56
1 changed files with 2 additions and 0 deletions
|
@ -735,6 +735,8 @@ namespace PKHeX.WinForms
|
|||
sav.SetFileInfo(path);
|
||||
if (!SanityCheckSAV(ref sav))
|
||||
return true;
|
||||
|
||||
PKME_Tabs.Focus(); // flush any pending changes
|
||||
StoreLegalSaveGameData(sav);
|
||||
PKMConverter.Trainer = sav;
|
||||
SpriteUtil.Initialize(sav); // refresh sprite generator
|
||||
|
|
Loading…
Reference in a new issue