diff options
Diffstat (limited to 'editor/rename_dialog.cpp')
-rw-r--r-- | editor/rename_dialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/editor/rename_dialog.cpp b/editor/rename_dialog.cpp index 6a43d60cc7..e63b90c0ac 100644 --- a/editor/rename_dialog.cpp +++ b/editor/rename_dialog.cpp @@ -599,8 +599,7 @@ void RenameDialog::rename() { ERR_PRINT("Skipping missing node: " + to_rename[i].first.get_concatenated_subnames()); continue; } - - scene_tree_editor->call("_rename_node", n, new_name); + scene_tree_editor->rename_node(n, new_name); } undo_redo->commit_action(); |