You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -2698,7 +2698,7 @@ String Control::get_configuration_warning() const {
|
||||
String warning = CanvasItem::get_configuration_warning();
|
||||
|
||||
if (data.mouse_filter == MOUSE_FILTER_IGNORE && data.tooltip != "") {
|
||||
if (!warning.empty()) {
|
||||
if (!warning.is_empty()) {
|
||||
warning += "\n\n";
|
||||
}
|
||||
warning += TTR("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\".");
|
||||
|
||||
Reference in New Issue
Block a user