mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-10 14:44:24 +00:00
Fix context view/set/delete action
oops, dunno what commit broke it
This commit is contained in:
parent
03c3610eb5
commit
7db0657711
1 changed files with 1 additions and 0 deletions
|
@ -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};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue