Merge pull request #73318 from timothyqiu/locale-list
Fix editor language dropdown incomplete in some locales
This commit is contained in:
commit
69becc8369
1 changed files with 0 additions and 3 deletions
|
@ -384,9 +384,6 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
|
||||||
if (score > 0 && score >= best_score) {
|
if (score > 0 && score >= best_score) {
|
||||||
best = locale;
|
best = locale;
|
||||||
best_score = score;
|
best_score = score;
|
||||||
if (score == 10) {
|
|
||||||
break; // Exact match, skip the rest.
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (best_score == 0) {
|
if (best_score == 0) {
|
||||||
|
|
Loading…
Reference in a new issue