diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-05-06 09:45:25 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-05-06 09:45:25 -0300 |
commit | 9de37817bcd0fb53384539d1b1a772541cabaca1 (patch) | |
tree | 62896933ec882cc0375795b75ae6c468ba4295a1 | |
parent | bc3c14a76b988a50e65328a932316c2e630a7ae6 (diff) |
-removed dynamic_cast on CheckBox, fixes #1830
-rw-r--r-- | scene/gui/check_box.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/check_box.cpp b/scene/gui/check_box.cpp index 309152ba8f..2aa82bc5f5 100644 --- a/scene/gui/check_box.cpp +++ b/scene/gui/check_box.cpp @@ -59,7 +59,7 @@ bool CheckBox::is_radio() Node* parent = this; do { parent = parent->get_parent(); - if (dynamic_cast< ButtonGroup* >(parent)) + if (parent->cast_to<ButtonGroup>()) break; } while (parent); |