mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 10:31:15 +00:00
Rename empty() to is_empty()
This commit is contained in:
parent
886571e0fc
commit
5b937d493f
289 changed files with 898 additions and 898 deletions
|
|
@ -198,7 +198,7 @@ void GroupDialog::_add_group(String p_name) {
|
|||
}
|
||||
|
||||
String name = p_name.strip_edges();
|
||||
if (name.empty() || groups->get_item_with_text(name)) {
|
||||
if (name.is_empty() || groups->get_item_with_text(name)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -551,7 +551,7 @@ void GroupsEditor::_add_group(const String &p_group) {
|
|||
}
|
||||
|
||||
const String name = group_name->get_text().strip_edges();
|
||||
if (name.empty()) {
|
||||
if (name.is_empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue