UI: Always check if IME Supported After Changing Language

Changing from IME-enabled language to English did not turn off IME.

Differential Revision: https://developer.blender.org/D7486

Reviewed by Campbell Barton
This commit is contained in:
Harley Acheson 2020-04-22 11:27:29 -07:00 committed by Brecht Van Lommel
parent 0dfe30502a
commit d17b371a83
1 changed files with 0 additions and 4 deletions

View File

@ -265,10 +265,6 @@ void BLT_lang_set(const char *str)
const char *short_locale = str ? str : LOCALE(ulang);
const char *short_locale_utf8 = NULL;
if (U.language == ULANGUAGE_ENGLISH) {
return;
}
/* We want to avoid locales like '.UTF-8'! */
if (short_locale[0]) {
/* Hurrey! encoding needs to be placed *before* variant! */