Fix deleting localization remap option.
This commit is contained in:
parent
ba9486a4d3
commit
b137bfd7ff
1 changed files with 1 additions and 1 deletions
|
@ -1189,7 +1189,7 @@ void ProjectSettingsEditor::_translation_res_option_delete(Object *p_item, int p
|
|||
|
||||
ERR_FAIL_COND(!remaps.has(key));
|
||||
PoolStringArray r = remaps[key];
|
||||
ERR_FAIL_INDEX(idx, remaps.size());
|
||||
ERR_FAIL_INDEX(idx, r.size());
|
||||
r.remove(idx);
|
||||
remaps[key] = r;
|
||||
|
||||
|
|
Loading…
Reference in a new issue