Skip to content

Commit 2a79e96

Browse files
committed
reverted - Shortcut bug breaking hexeditor
1 parent b37eeb2 commit 2a79e96

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Terminal.Gui/Views/Shortcut.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,11 +483,10 @@ void CommandViewOnSelecting (object? sender, CommandEventArgs e)
483483
if (e.Context.Data != this)
484484
{
485485
// Forward command to ourselves
486-
e.Cancel = InvokeCommand (Command.Select, new (Command.Select, null, null, this)) is true;
487-
488-
return;
486+
InvokeCommand (Command.Select, new (Command.Select, null, null, this));
489487
}
490488

489+
// BUGBUG: This prevents NumericUpDown on statusbar in HexEditor from working
491490
e.Cancel = true;
492491
}
493492
}

0 commit comments

Comments
 (0)