mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-05 16:24:39 +00:00
Merge pull request #67445 from Zylann/rename_queue_delete
Rename queue_delete => queue_free
This commit is contained in:
@@ -293,7 +293,7 @@ void EditorPropertyArray::update_property() {
|
||||
continue; // Don't remove the property that the user is moving.
|
||||
}
|
||||
|
||||
child->queue_delete(); // Button still needed after pressed is called.
|
||||
child->queue_free(); // Button still needed after pressed is called.
|
||||
property_vbox->remove_child(child);
|
||||
}
|
||||
}
|
||||
@@ -861,7 +861,7 @@ void EditorPropertyDictionary::update_property() {
|
||||
} else {
|
||||
// Queue children for deletion, deleting immediately might cause errors.
|
||||
for (int i = property_vbox->get_child_count() - 1; i >= 0; i--) {
|
||||
property_vbox->get_child(i)->queue_delete();
|
||||
property_vbox->get_child(i)->queue_free();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1349,7 +1349,7 @@ void EditorPropertyLocalizableString::update_property() {
|
||||
} else {
|
||||
// Queue children for deletion, deleting immediately might cause errors.
|
||||
for (int i = property_vbox->get_child_count() - 1; i >= 0; i--) {
|
||||
property_vbox->get_child(i)->queue_delete();
|
||||
property_vbox->get_child(i)->queue_free();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user