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

@@ -228,9 +228,9 @@ void Control::get_argument_options(const StringName &p_function, int p_idx, List
}
}
Array Control::get_configuration_warnings() const {
ERR_READ_THREAD_GUARD_V(Array());
Array warnings = Node::get_configuration_warnings();
PackedStringArray Control::get_configuration_warnings() const {
ERR_READ_THREAD_GUARD_V(PackedStringArray());
PackedStringArray warnings = Node::get_configuration_warnings();
if (data.mouse_filter == MOUSE_FILTER_IGNORE && !data.tooltip.is_empty()) {
warnings.push_back(RTR("The Hint Tooltip won't be displayed as the control's Mouse Filter is set to \"Ignore\". To solve this, set the Mouse Filter to \"Stop\" or \"Pass\"."));