diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-10-06 19:07:36 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-10-19 15:48:37 +0300 |
commit | 5b6dacb9ebf337a745aff40b9179d9632c558340 (patch) | |
tree | 3ff89aacb7ec865b074c0c98d3ef507ce7536491 /release | |
parent | 9e9d003a823f6f9f83c04b6f2493604735d80fe9 (diff) |
Fix splash screen showing language when building without that feature
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 280df736c18..b011711d133 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -2840,12 +2840,13 @@ class WM_MT_splash_quick_setup(Menu): col = split.column() - sub = col.split(factor=0.35) - row = sub.row() - row.alignment = 'RIGHT' - row.label(text="Language") - prefs = context.preferences - sub.prop(prefs.view, "language", text="") + if bpy.app.build_options.international: + sub = col.split(factor=0.35) + row = sub.row() + row.alignment = 'RIGHT' + row.label(text="Language") + prefs = context.preferences + sub.prop(prefs.view, "language", text="") col.separator() |