소스 검색

Merge pull request #137 from sangkilc/master

Use an upper character for MenuItem's hotkey
Miguel de Icaza 6 년 전
부모
커밋
bb1e050cd4
2개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. BIN
      Terminal.Gui/.editorconfig.swp
  2. 1 1
      Terminal.Gui/Views/Menu.cs

BIN
Terminal.Gui/.editorconfig.swp


+ 1 - 1
Terminal.Gui/Views/Menu.cs

@@ -35,7 +35,7 @@ namespace Terminal.Gui {
 					nextIsHot = true;
 				else {
 					if (nextIsHot) {
-						HotKey = x;
+						HotKey = Char.ToUpper ((char)x);
 						break;
 					}
 					nextIsHot = false;