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)
This commit is contained in:
Kurt 2018-01-02 23:00:52 -08:00
parent 7705c158a9
commit c6089a183c

View File

@ -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[]
{