Fix: File menu broken after recent commit
layout.menu does not have a text_context argument. f5d67f3fdf2ddec073898bc60feeb2440f2c1b30
This commit is contained in:
parent
548a2cbe06
commit
a096248d12
@ -272,9 +272,7 @@ class TOPBAR_MT_file(Menu):
|
||||
layout = self.layout
|
||||
|
||||
layout.operator_context = 'INVOKE_AREA'
|
||||
layout.menu("TOPBAR_MT_file_new", text="New",
|
||||
text_context=i18n_contexts.id_windowmanager,
|
||||
icon='FILE_NEW')
|
||||
layout.menu("TOPBAR_MT_file_new", text="New", icon='FILE_NEW')
|
||||
layout.operator("wm.open_mainfile", text="Open...", icon='FILE_FOLDER')
|
||||
layout.menu("TOPBAR_MT_file_open_recent")
|
||||
layout.operator("wm.revert_mainfile")
|
||||
|
Loading…
Reference in New Issue
Block a user