Merge pull request #67445 from Zylann/rename_queue_delete
Rename queue_delete => queue_free
This commit is contained in:
commit
420eb1aa34
29 changed files with 55 additions and 55 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue