We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f7009d8 + f50104b commit beaffa4Copy full SHA for beaffa4
src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls/RadioButton.cs
@@ -161,7 +161,7 @@ private void UpdateRadioButtonGroup()
161
else
162
{
163
// Uncheck all checked RadioButtons different from the current one
164
- if (rb != this && (rb.IsChecked == true) && rootScope == KeyboardNavigation.GetVisualRoot(rb) && rootScope != null)
+ if (rb != this && (rb.IsChecked == true) && rootScope == KeyboardNavigation.GetVisualRoot(rb))
165
rb.UncheckRadioButton();
166
i++;
167
}
0 commit comments