summaryrefslogtreecommitdiff
path: root/editor
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-17 13:54:15 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-17 13:54:15 +0100
commit0b27173919b583fdebee5eeca8ef4144b5a08011 (patch)
tree49277326c7c5f2e65b0c57b0735c1ef30f6cd15e /editor
parent2ca972ad01e8000aff639c691abce325f1ac01cf (diff)
Fixup TileSet build after #66557
Last rebase was too old, didn't include this API rename.
Diffstat (limited to 'editor')
-rw-r--r--editor/plugins/tiles/tile_set_atlas_source_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/tiles/tile_set_atlas_source_editor.cpp b/editor/plugins/tiles/tile_set_atlas_source_editor.cpp
index d425862694..8e69abd7ff 100644
--- a/editor/plugins/tiles/tile_set_atlas_source_editor.cpp
+++ b/editor/plugins/tiles/tile_set_atlas_source_editor.cpp
@@ -750,7 +750,7 @@ void TileSetAtlasSourceEditor::_update_tile_data_editors() {
// If the type of the edited property has been changed, delete the
// editor and create a new one.
if (tile_data_editors.has(editor_name) && ((TileDataDefaultEditor *)tile_data_editors[editor_name])->get_property_type() != prop_type) {
- tile_data_editors[vformat("custom_data_%d", i)]->queue_delete();
+ tile_data_editors[vformat("custom_data_%d", i)]->queue_free();
tile_data_editors.erase(vformat("custom_data_%d", i));
}
if (!tile_data_editors.has(editor_name)) {