mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 23:06:39 -05:00
Fix template loading behavior
Closes #1181 move preview sprite fetch to the absolute end
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user