Fix release notes not showing in splash without recent files
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 10 Jul 2019 12:42:08 +0000 (14:42 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Wed, 10 Jul 2019 12:51:14 +0000 (14:51 +0200)
release/scripts/startup/bl_operators/wm.py

index e7b9a847120004f7631b6e65431cc70d363b639a..04a9a83e712728caff30e8d96c14653e736e1c0c 100644 (file)
@@ -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()