Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorabrevet-dev <57099550+abrevet-dev@users.noreply.github.com>2019-12-05 02:41:49 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2019-12-05 02:41:49 +0300
commit186f9cd8c4295f521df15c49911b46ac66522912 (patch)
treed87a9486266a428f279d0cf0fd739d710447d390 /mcs/class/System.Windows.Forms
parent4590bf6cac5ee74703a3f610ab9b02680f1e9ce5 (diff)
[WinForms] Fix wrong behavior of RadioButton auto-check (#18044)
Fixes #18020
Diffstat (limited to 'mcs/class/System.Windows.Forms')
-rw-r--r--mcs/class/System.Windows.Forms/System.Windows.Forms/RadioButton.cs2
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);