1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Update Node::get_configuration_warnings signature

This commit is contained in:
RedMser
2023-07-05 15:41:44 +02:00
parent bf37a9bac6
commit d3852deaa4
132 changed files with 217 additions and 213 deletions

View File

@@ -430,8 +430,8 @@ bool BaseButton::_was_pressed_by_mouse() const {
return was_mouse_pressed;
}
PackedStringArray BaseButton::get_configuration_warnings() const {
PackedStringArray warnings = Control::get_configuration_warnings();
Array BaseButton::get_configuration_warnings() const {
Array warnings = Control::get_configuration_warnings();
if (get_button_group().is_valid() && !is_toggle_mode()) {
warnings.push_back(RTR("ButtonGroup is intended to be used only with buttons that have toggle_mode set to true."));