From c6089a183c4d17a364f0ab31d2605000f51f925d Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 2 Jan 2018 23:00:52 -0800 Subject: [PATCH] fix designer deletion of sav editor control custom constructor parameters aren't expected, needs a default without optional (no usages were using a sav provided anyway) --- PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs b/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs index 89e784983..ce922e951 100644 --- a/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs +++ b/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs @@ -43,9 +43,9 @@ public void ReloadSlots() ResetNonBoxSlots(); } - public SAVEditor(SaveFile sav = null) + public SAVEditor() { - var z = Task.Run(() => sav ?? SaveUtil.GetBlankSAV(GameVersion.US, "PKHeX")); + var z = Task.Run(() => SaveUtil.GetBlankSAV(GameVersion.US, "PKHeX")); InitializeComponent(); var SupplementarySlots = new[] {