Browse Source

Ensure SelectionChanged is called on mouse click too

Paul Sanford 7 years ago
parent
commit
73f10ef1e0
1 changed files with 1 additions and 1 deletions
  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);
 			SuperView.SetFocus (this);
 
 
 			if (me.Y < radioLabels.Length) {
 			if (me.Y < radioLabels.Length) {
-				cursor = selected = me.Y;
+				cursor = Selected = me.Y;
 				SetNeedsDisplay ();
 				SetNeedsDisplay ();
 			}
 			}
 			return true;
 			return true;