mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-19 20:28:24 -05:00
Fix template loading behavior
Closes #1181 move preview sprite fetch to the absolute end
This commit is contained in:
parent
e522094679
commit
2fb3cd5207
|
|
@ -228,11 +228,11 @@ public void populateFields(PKM pk, bool focus = true)
|
|||
Label_HatchCounter.Visible = CHK_IsEgg.Checked && pkm.Format > 1;
|
||||
Label_Friendship.Visible = !CHK_IsEgg.Checked && pkm.Format > 1;
|
||||
|
||||
// Set the Preview Box
|
||||
UpdatePreviewSprite(this, null);
|
||||
setMarkings();
|
||||
updateLegality();
|
||||
lastData = preparePKM()?.Data;
|
||||
// Refresh the Preview Box
|
||||
UpdatePreviewSprite?.Invoke(this, null);
|
||||
}
|
||||
public void updateLegality(LegalityAnalysis la = null, bool skipMoveRepop = false)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user