Browse Source

Merge pull request #137 from sangkilc/master

Use an upper character for MenuItem's hotkey
Miguel de Icaza 6 years ago
parent
commit
bb1e050cd4
2 changed files with 1 additions and 1 deletions
  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;