-removed dynamic_cast on CheckBox, fixes #1830
This commit is contained in:
parent
bc3c14a76b
commit
9de37817bc
@ -59,7 +59,7 @@ bool CheckBox::is_radio()
|
|||||||
Node* parent = this;
|
Node* parent = this;
|
||||||
do {
|
do {
|
||||||
parent = parent->get_parent();
|
parent = parent->get_parent();
|
||||||
if (dynamic_cast< ButtonGroup* >(parent))
|
if (parent->cast_to<ButtonGroup>())
|
||||||
break;
|
break;
|
||||||
} while (parent);
|
} while (parent);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user