You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Revert "Update Node::get_configuration_warnings signature"
This reverts commit d3852deaa4.
This commit is contained in:
@@ -430,8 +430,8 @@ bool BaseButton::_was_pressed_by_mouse() const {
|
||||
return was_mouse_pressed;
|
||||
}
|
||||
|
||||
Array BaseButton::get_configuration_warnings() const {
|
||||
Array warnings = Control::get_configuration_warnings();
|
||||
PackedStringArray BaseButton::get_configuration_warnings() const {
|
||||
PackedStringArray 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."));
|
||||
|
||||
Reference in New Issue
Block a user