From 2a79e96210e1ee7d82e28dea03a81bd387d8c8f3 Mon Sep 17 00:00:00 2001 From: Tig Date: Mon, 18 Nov 2024 16:08:37 -0700 Subject: [PATCH] reverted - Shortcut bug breaking hexeditor --- Terminal.Gui/Views/Shortcut.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Terminal.Gui/Views/Shortcut.cs b/Terminal.Gui/Views/Shortcut.cs index f8b5be4cf..175f8f569 100644 --- a/Terminal.Gui/Views/Shortcut.cs +++ b/Terminal.Gui/Views/Shortcut.cs @@ -483,11 +483,10 @@ public class Shortcut : View, IOrientation, IDesignable if (e.Context.Data != this) { // Forward command to ourselves - e.Cancel = InvokeCommand (Command.Select, new (Command.Select, null, null, this)) is true; - - return; + InvokeCommand (Command.Select, new (Command.Select, null, null, this)); } + // BUGBUG: This prevents NumericUpDown on statusbar in HexEditor from working e.Cancel = true; } }