Procházet zdrojové kódy

Ensure SelectionChanged is called on mouse click too

Paul Sanford před 7 roky
rodič
revize
73f10ef1e0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;