From 186f9cd8c4295f521df15c49911b46ac66522912 Mon Sep 17 00:00:00 2001 From: abrevet-dev <57099550+abrevet-dev@users.noreply.github.com> Date: Thu, 5 Dec 2019 00:41:49 +0100 Subject: [PATCH] [WinForms] Fix wrong behavior of RadioButton auto-check (#18044) Fixes #18020 --- mcs/class/System.Windows.Forms/System.Windows.Forms/RadioButton.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/mcs/class/System.Windows.Forms/System.Windows.Forms/RadioButton.cs b/mcs/class/System.Windows.Forms/System.Windows.Forms/RadioButton.cs index 4290a1e2620..89fb9d1a32f 100644 --- a/mcs/class/System.Windows.Forms/System.Windows.Forms/RadioButton.cs +++ b/mcs/class/System.Windows.Forms/System.Windows.Forms/RadioButton.cs @@ -326,8 +326,6 @@ namespace System.Windows.Forms { if (!Checked) { Checked = true; } - } else { - Checked = !Checked; } base.OnClick (e); -- 2.11.4.GIT