Always use an upper character for hotkey

MenuItem's hotkey should always use an upper character as
`Menu::ProcessKey()` always matches with an upper character.
This commit is contained in:
Sang Kil Cha
2018-09-30 17:21:45 +09:00
parent d8b4fd425c
commit 06fdcc72c8

View File

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