Selaa lähdekoodia

Merge pull request #137 from sangkilc/master

Use an upper character for MenuItem's hotkey
Miguel de Icaza 6 vuotta sitten
vanhempi
commit
bb1e050cd4
2 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;