diff options
author | DimOkGamer <salnikov.mine@yandex.ru> | 2017-10-15 04:43:02 +0300 |
---|---|---|
committer | DimOkGamer <salnikov.mine@yandex.ru> | 2017-10-15 04:43:02 +0300 |
commit | b137bfd7ff8845a511347197a213bbc4c6caa2e5 (patch) | |
tree | e0c9b66d89f3d88c1d1c2bee27a9054630f064f3 | |
parent | ba9486a4d30f1bef11ff3629af67a87c6264f569 (diff) |
Fix deleting localization remap option.
-rw-r--r-- | editor/project_settings_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index 91ef9e36f3..723d7b14ff 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -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; |