You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Rename remove() to remove_at() when removing by index
This commit is contained in:
committed by
Aaron Record
parent
5efe80f308
commit
e078f970db
@@ -240,7 +240,7 @@ void ConnectDialog::_remove_bind() {
|
||||
int idx = st.get_slice("/", 1).to_int() - 1;
|
||||
|
||||
ERR_FAIL_INDEX(idx, cdbinds->params.size());
|
||||
cdbinds->params.remove(idx);
|
||||
cdbinds->params.remove_at(idx);
|
||||
cdbinds->notify_changed();
|
||||
}
|
||||
|
||||
@@ -723,7 +723,7 @@ void ConnectionsDock::_open_connection_dialog(TreeItem &item) {
|
||||
c = '_';
|
||||
} else {
|
||||
// Remove any other characters.
|
||||
midname.remove(i);
|
||||
midname.remove_at(i);
|
||||
i--;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user