Explorar o código

Merge pull request #137 from sangkilc/master

Use an upper character for MenuItem's hotkey
Miguel de Icaza %!s(int64=6) %!d(string=hai) anos
pai
achega
bb1e050cd4
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. BIN=BIN
      Terminal.Gui/.editorconfig.swp
  2. 1 1
      Terminal.Gui/Views/Menu.cs

BIN=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;