You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -576,7 +576,7 @@ void CreateDialog::drop_data_fw(const Point2 &p_point, const Variant &p_data, Co
|
||||
drop_idx--;
|
||||
}
|
||||
|
||||
favorite_list.remove(from_idx);
|
||||
favorite_list.remove_at(from_idx);
|
||||
|
||||
if (ds < 0) {
|
||||
favorite_list.insert(drop_idx, type);
|
||||
|
||||
Reference in New Issue
Block a user