1
0
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:
Rémi Verschelde
2024-02-17 19:03:21 +01:00
parent 9f76398781
commit 21f0529aa9
132 changed files with 213 additions and 217 deletions

View File

@@ -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."));