Rename remove() to remove_at() when removing by index
This commit is contained in:
parent
5efe80f308
commit
e078f970db
134 changed files with 323 additions and 323 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue