diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2018-03-24 03:05:20 +0100 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2018-03-27 19:19:45 +0200 |
commit | a6dc160d5cdf581c61d9c0ecd042aa7b5e958a87 (patch) | |
tree | 0b5c5764d8d979b38393c54ca5f370ebd972ebec /scene | |
parent | bf14a6deffe4c9b74920080851f7e4e273f66116 (diff) |
Use radio-button-like menu entries where applicable
Diffstat (limited to 'scene')
-rw-r--r-- | scene/gui/option_button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/option_button.cpp b/scene/gui/option_button.cpp index 6e53f11b99..aaad10f579 100644 --- a/scene/gui/option_button.cpp +++ b/scene/gui/option_button.cpp @@ -118,7 +118,7 @@ void OptionButton::add_icon_item(const Ref<Texture> &p_icon, const String &p_lab } void OptionButton::add_item(const String &p_label, int p_ID) { - popup->add_check_item(p_label, p_ID); + popup->add_radio_check_item(p_label, p_ID); if (popup->get_item_count() == 1) select(0); } |