Fix splash screen showing language when building without that feature

This commit is contained in:
Brecht Van Lommel 2021-10-06 18:07:36 +02:00
parent 9e9d003a82
commit 5b6dacb9eb
1 changed files with 7 additions and 6 deletions

View File

@ -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()