Fix release notes not showing in splash without recent files
This commit is contained in:
parent
526876a634
commit
7695fd9cff
|
@ -1785,20 +1785,12 @@ class WM_MT_splash(Menu):
|
|||
col1.operator("wm.recover_last_session", icon='RECOVER_LAST')
|
||||
|
||||
col2 = split.column()
|
||||
if found_recent:
|
||||
col2.operator(
|
||||
"wm.url_open", text="Release Notes", icon='URL',
|
||||
).url = "https://www.blender.org/download/releases/%d-%d/" % bpy.app.version[:2]
|
||||
col2.operator(
|
||||
"wm.url_open", text="Development Fund", icon='URL'
|
||||
).url = "https://fund.blender.org"
|
||||
else:
|
||||
col2.operator(
|
||||
"wm.url_open", text="Development Fund", icon='URL'
|
||||
).url = "https://fund.blender.org"
|
||||
col2.operator(
|
||||
"wm.url_open", text="Donate", icon='URL'
|
||||
).url = "https://www.blender.org/foundation/donation-payment/"
|
||||
col2.operator(
|
||||
"wm.url_open", text="Release Notes", icon='URL',
|
||||
).url = "https://www.blender.org/download/releases/%d-%d/" % bpy.app.version[:2]
|
||||
col2.operator(
|
||||
"wm.url_open", text="Development Fund", icon='URL'
|
||||
).url = "https://fund.blender.org"
|
||||
|
||||
layout.separator()
|
||||
layout.separator()
|
||||
|
|
Loading…
Reference in New Issue