mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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
|
|
@ -242,7 +242,7 @@ void EditorDebuggerTree::_item_menu_id_pressed(int p_option) {
|
|||
} break;
|
||||
case ITEM_MENU_COPY_NODE_PATH: {
|
||||
String text = get_selected_path();
|
||||
if (text.empty()) {
|
||||
if (text.is_empty()) {
|
||||
return;
|
||||
} else if (text == "/root") {
|
||||
text = ".";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue