UI: Add "Open Recent" to File Context menu

Add "Open Recent" to the File Context menu (F4).

Pull Request: https://projects.blender.org/blender/blender/pulls/111701
This commit is contained in:
dshot92
2023-09-08 15:47:52 +02:00
committed by Pablo Vazquez
parent 01931e213f
commit 162b2954a6

View File

@@ -726,6 +726,7 @@ class TOPBAR_MT_file_context_menu(Menu):
layout.operator_context = 'INVOKE_AREA'
layout.menu("TOPBAR_MT_file_new", text="New", text_ctxt=i18n_contexts.id_windowmanager, icon='FILE_NEW')
layout.operator("wm.open_mainfile", text="Open...", icon='FILE_FOLDER')
layout.menu("TOPBAR_MT_file_open_recent")
layout.separator()