diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-01-08 13:38:48 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-01-08 13:38:48 +0300 |
commit | 9003cc091ff472a46f9631c3997e27bfec125f82 (patch) | |
tree | f302c9054366deb63f42b7c119cd606a463d863a | |
parent | d31844cc0b3be397b5032cb0c5d8daea39584783 (diff) |
Fix (unreported) calling Online Manual from context menu
-rw-r--r-- | modules/rna_manual_reference.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/rna_manual_reference.py b/modules/rna_manual_reference.py index 05cdd3f5..5c83313e 100644 --- a/modules/rna_manual_reference.py +++ b/modules/rna_manual_reference.py @@ -5,8 +5,8 @@ import bpy url_manual_prefix = "https://docs.blender.org/manual/en/dev/" language = "" -if bpy.context.preferences.system.use_international_fonts: - language = bpy.context.preferences.system.language +if bpy.context.preferences.view.use_international_fonts: + language = bpy.context.preferences.view.language if language == 'DEFAULT': import os language = os.getenv('LANG', '').split('.')[0] |