diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-10-15 10:10:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-15 10:10:08 +0200 |
commit | 56908d40b24118bcac53e92d54dff101480bef87 (patch) | |
tree | 4f5e1e9d3c9ba0b3112dbada4b88c3eeb0a6801d | |
parent | eeb9257a95bf51139861617b076a5d5438cf2dca (diff) | |
parent | b137bfd7ff8845a511347197a213bbc4c6caa2e5 (diff) |
Merge pull request #12115 from DmitriySalnikov/fix_deleting_remap_option
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; |