Adjust condition. We only want items that has no parent at this point
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=666480
This commit is contained in:
parent
8676ce117d
commit
0fff43201f
@ -129,7 +129,7 @@ void RadioButton::setChecked(bool checked)
|
|||||||
{
|
{
|
||||||
siblingRadioButton = dynamic_cast<RadioButton*>(sibling);
|
siblingRadioButton = dynamic_cast<RadioButton*>(sibling);
|
||||||
|
|
||||||
if (siblingRadioButton && siblingRadioButton->isChecked())
|
if (siblingRadioButton && siblingRadioButton->isChecked() && !siblingRadioButton->parentItem())
|
||||||
{
|
{
|
||||||
siblingRadioButton->setChecked(false);
|
siblingRadioButton->setChecked(false);
|
||||||
break; // Only an item is checked at same time as maximum
|
break; // Only an item is checked at same time as maximum
|
||||||
|
Loading…
Reference in New Issue
Block a user