Fix clone to all slots behavior

This commit is contained in:
Kurt 2019-12-07 13:56:00 -08:00
parent 34452c2818
commit a178418c3d

View file

@ -411,7 +411,8 @@ namespace PKHeX.WinForms.Controls
private void ClickClone(object sender, EventArgs e)
{
if (GetSlotData((PictureBox)sender) is SlotInfoBox)
var detail = GetSlotData((PictureBox) sender);
if (detail is SlotInfoBox)
RequestCloneData?.Invoke(sender, e);
}