You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Rename empty() to is_empty()
This commit is contained in:
@@ -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 = ".";
|
||||
|
||||
Reference in New Issue
Block a user