Переглянути джерело

Ensure SelectionChanged is called on mouse click too

Paul Sanford 7 роки тому
батько
коміт
73f10ef1e0
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      Terminal.Gui/Views/RadioGroup.cs

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

@@ -166,7 +166,7 @@ namespace Terminal.Gui {
 			SuperView.SetFocus (this);
 
 			if (me.Y < radioLabels.Length) {
-				cursor = selected = me.Y;
+				cursor = Selected = me.Y;
 				SetNeedsDisplay ();
 			}
 			return true;