Explorar o código

Ensure SelectionChanged is called on mouse click too

Paul Sanford %!s(int64=7) %!d(string=hai) anos
pai
achega
73f10ef1e0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;