summaryrefslogtreecommitdiff
path: root/editor/plugins/theme_editor_preview.cpp
diff options
context:
space:
mode:
authorMarc Gilleron <marc.gilleron@gmail.com>2022-10-24 22:07:02 +0100
committerMarc Gilleron <marc.gilleron@gmail.com>2022-10-24 22:07:02 +0100
commit7543a5e01451979b5ec72e95e34beb53f6440267 (patch)
tree5f836ccb52745d9e753ec69444e635c8b9642845 /editor/plugins/theme_editor_preview.cpp
parent040f49ed6e71a6e7f23d763c4b56095cbf319ef7 (diff)
Rename queue_delete => queue_free
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp
Diffstat (limited to 'editor/plugins/theme_editor_preview.cpp')
-rw-r--r--editor/plugins/theme_editor_preview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/theme_editor_preview.cpp b/editor/plugins/theme_editor_preview.cpp
index 8cc96201e7..fdd8a80ad3 100644
--- a/editor/plugins/theme_editor_preview.cpp
+++ b/editor/plugins/theme_editor_preview.cpp
@@ -459,7 +459,7 @@ void SceneThemeEditorPreview::_reload_scene() {
for (int i = preview_content->get_child_count() - 1; i >= 0; i--) {
Node *node = preview_content->get_child(i);
- node->queue_delete();
+ node->queue_free();
preview_content->remove_child(node);
}