Browse Source

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

Miguel de Icaza 7 năm trước cách đây
mục cha
commit
cbc6d6a498
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 			if (key < Char.MaxValue && Char.IsLetterOrDigit ((char)key)) {