Browse Source

RadioGroup: only catch the hotkey if no other control processed the event

Miguel de Icaza 7 years ago
parent
commit
cbc6d6a498
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Terminal.Gui/Views/RadioGroup.cs

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

@@ -88,7 +88,7 @@ namespace Terminal.Gui {
 			}
 			}
 		}
 		}
 
 
-		public override bool ProcessHotKey (KeyEvent kb)
+		public override bool ProcessColdKey (KeyEvent kb)
 		{
 		{
 			var key = kb.KeyValue;
 			var key = kb.KeyValue;
 			if (key < Char.MaxValue && Char.IsLetterOrDigit ((char)key)) {
 			if (key < Char.MaxValue && Char.IsLetterOrDigit ((char)key)) {