diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2020-04-22 21:27:29 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-04-22 22:03:13 +0300 |
commit | d17b371a83de0daf228138dc0eca0f788e024a62 (patch) | |
tree | 5e1296eb74fcd88ec156b33ea495ecbd931c12ee /source/blender/blentranslation | |
parent | 0dfe30502a02c0567be50f980a8f1e00198cf93e (diff) |
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
Diffstat (limited to 'source/blender/blentranslation')
-rw-r--r-- | source/blender/blentranslation/intern/blt_lang.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blentranslation/intern/blt_lang.c b/source/blender/blentranslation/intern/blt_lang.c index a533d29b188..bcbffe56636 100644 --- a/source/blender/blentranslation/intern/blt_lang.c +++ b/source/blender/blentranslation/intern/blt_lang.c @@ -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! */ |