diff options
author | abrevet-dev <57099550+abrevet-dev@users.noreply.github.com> | 2019-12-05 02:41:49 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2019-12-05 02:41:49 +0300 |
commit | 186f9cd8c4295f521df15c49911b46ac66522912 (patch) | |
tree | d87a9486266a428f279d0cf0fd739d710447d390 /mcs/class | |
parent | 4590bf6cac5ee74703a3f610ab9b02680f1e9ce5 (diff) |
[WinForms] Fix wrong behavior of RadioButton auto-check (#18044)
Fixes #18020
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/System.Windows.Forms/System.Windows.Forms/RadioButton.cs | 2 |
1 files changed, 0 insertions, 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); |