Fix context view/set/delete action

oops, dunno what commit broke it
This commit is contained in:
Kurt 2019-09-28 19:29:15 -07:00
parent 03c3610eb5
commit 7db0657711

View file

@ -134,6 +134,7 @@ namespace PKHeX.WinForms.Controls
var pb = WinFormsUtil.GetUnderlyingControl<PictureBox>(sender); var pb = WinFormsUtil.GetUnderlyingControl<PictureBox>(sender);
var view = WinFormsUtil.FindFirstControlOfType<ISlotViewer<PictureBox>>(pb); var view = WinFormsUtil.FindFirstControlOfType<ISlotViewer<PictureBox>>(pb);
var loc = view.GetSlotData(pb); var loc = view.GetSlotData(pb);
sender = pb;
return new SlotViewInfo<PictureBox> {Slot = loc, View = view}; return new SlotViewInfo<PictureBox> {Slot = loc, View = view};
} }