mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-05 08:22:59 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -413,7 +413,7 @@ void EditorPropertyArray::update_property() {
|
||||
|
||||
void EditorPropertyArray::_remove_pressed(int p_index) {
|
||||
Variant array = object->get_array();
|
||||
array.call("remove", p_index);
|
||||
array.call("remove_at", p_index);
|
||||
|
||||
emit_changed(get_edited_property(), array, "", false);
|
||||
update_property();
|
||||
|
||||
Reference in New Issue
Block a user