Prechádzať zdrojové kódy

Ensure SelectionChanged is called on mouse click too

Paul Sanford 7 rokov pred
rodič
commit
73f10ef1e0
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;