Fix #29655: keyboard shortcuts missing from text editor text menu, and removed
[blender.git] / release / scripts / startup / bl_ui / space_text.py
index c3b2e30cb1250a0221ee4b454bf930668cd6b0f6..7249e9522fff6023c27341edffcba18e27123a9e 100644 (file)
@@ -174,9 +174,7 @@ class TEXT_MT_text(Menu):
         st = context.space_data
         text = st.text
 
-        layout.operator_context = 'EXEC_AREA'
         layout.operator("text.new")
-        layout.operator_context = 'INVOKE_AREA'
         layout.operator("text.open")
 
         if text: