Browse Source

reverted - Shortcut bug breaking hexeditor

Tig 8 months ago
parent
commit
2a79e96210
1 changed files with 2 additions and 3 deletions
  1. 2 3
      Terminal.Gui/Views/Shortcut.cs

+ 2 - 3
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;
             }
         }