Fix #29655: keyboard shortcuts missing from text editor text menu, and removed
confirmation popup for creating new text datablock.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user