Skip to content

Commit edd79f3

Browse files
committed
Fixed crash after right click. (#48)
1 parent bf6b42c commit edd79f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ReClass.NET/UI/MemoryViewControl.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,6 @@ protected override void OnMouseClick(MouseEventArgs e)
250250

251251
bool invalidate = false;
252252

253-
editBox.Visible = false;
254-
255253
foreach (var hotSpot in hotSpots)
256254
{
257255
if (hotSpot.Rect.Contains(e.Location))
@@ -434,6 +432,8 @@ protected override void OnMouseClick(MouseEventArgs e)
434432
}
435433
}
436434

435+
editBox.Visible = false;
436+
437437
if (invalidate)
438438
{
439439
Invalidate();

0 commit comments

Comments
 (0)