From 69896a3a04990bf7e12e36681df8687657bd2831 Mon Sep 17 00:00:00 2001 From: Kurt Date: Tue, 16 Jan 2018 19:31:50 -0800 Subject: [PATCH] Hide gen1 second daycare slot is duplicate with first the slot is properly hidden but then set visible when the preview is loaded for it. im sure the set-visible was a very old design decision --- PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs b/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs index ce922e951..be97fb829 100644 --- a/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs +++ b/PKHeX.WinForms/Controls/SAV Editor/SAVEditor.cs @@ -350,7 +350,6 @@ private void GetSlotFiller(int offset, PictureBox pb) // 00s present in slot. pb.Image = null; pb.BackColor = Color.Transparent; - pb.Visible = true; return; } PKM p = SAV.GetStoredSlot(offset); @@ -359,14 +358,12 @@ private void GetSlotFiller(int offset, PictureBox pb) // Bad Egg present in slot. pb.Image = null; pb.BackColor = Color.Red; - pb.Visible = true; return; } int slot = GetSlot(pb); pb.Image = GetSprite(p, slot); pb.BackColor = Color.Transparent; - pb.Visible = true; } private void ClickBoxSort(object sender, EventArgs e)