diff options
author | kobewi <kobewi4e@gmail.com> | 2023-06-15 13:20:49 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2024-03-03 13:16:21 +0100 |
commit | ffadba0b0806eae62c59a37c4d8736bcbbf26ecd (patch) | |
tree | 2f62fecde46b01b0589e82464948285a852ffd5f /editor/rename_dialog.cpp | |
parent | dad6c774b019ef8c5dccb4a1955c6a77b41a323e (diff) | |
download | redot-engine-ffadba0b0806eae62c59a37c4d8736bcbbf26ecd.tar.gz |
Allow to easily rename multiple nodes
Co-authored-by: ajreckof <tbonhoure@ymail.Com>
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(); |