diff --git a/PKHeX/MainWindow/Main.cs b/PKHeX/MainWindow/Main.cs index 49ece3e56..5f63b6f04 100644 --- a/PKHeX/MainWindow/Main.cs +++ b/PKHeX/MainWindow/Main.cs @@ -17,7 +17,7 @@ namespace PKHeX { #region Initialize Form new Thread(() => new SplashScreen().ShowDialog()).Start(); - slotPkmSource = SAV.BlankPKM.EncryptedPartyData; + DragInfo.slotPkmSource = SAV.BlankPKM.EncryptedPartyData; InitializeComponent(); CB_ExtraBytes.SelectedIndex = 0; SaveFile.SetUpdateDex = Menu_ModifyDex.Checked; @@ -774,6 +774,11 @@ namespace PKHeX } Menu_ExportSAV.Enabled = B_VerifyCHK.Enabled = SAV.Exportable; + // Close subforms that are save dependent + Type[] f = { typeof(SAV_BoxViewer), typeof(f2_Text) }; + foreach (var form in Application.OpenForms.Cast