forked from bartvdbraak/blender
Fix splash screen showing language when building without that feature
This commit is contained in:
parent
9e9d003a82
commit
5b6dacb9eb
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user