diff --git a/widgets/radiobutton.cpp b/widgets/radiobutton.cpp index 85690c309..a2595c304 100644 --- a/widgets/radiobutton.cpp +++ b/widgets/radiobutton.cpp @@ -129,7 +129,7 @@ void RadioButton::setChecked(bool checked) { siblingRadioButton = dynamic_cast(sibling); - if (siblingRadioButton && siblingRadioButton->isChecked()) + if (siblingRadioButton && siblingRadioButton->isChecked() && !siblingRadioButton->parentItem()) { siblingRadioButton->setChecked(false); break; // Only an item is checked at same time as maximum