From 68ea6c85abc6ce8d67f0a270314330a115dc9981 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 6 Oct 2022 12:49:22 +1100 Subject: Fix: File context menu broken after recent commit layout.menu does not have a text_context argument. f5d67f3fdf2ddec073898bc60feeb2440f2c1b30 --- release/scripts/startup/bl_ui/space_topbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index ffcf004131c..895e2deb31c 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -727,7 +727,7 @@ class TOPBAR_MT_file_context_menu(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.separator() -- cgit v1.2.3