소스 검색

reverted - Shortcut bug breaking hexeditor

Tig 10 달 전
부모
커밋
2a79e96210
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  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;
             }
         }