Fix #29655: keyboard shortcuts missing from text editor text menu, and removed

confirmation popup for creating new text datablock.
This commit is contained in:
Brecht Van Lommel
2011-12-19 14:23:19 +00:00
parent a0af3f7ffe
commit a64d92eb13
2 changed files with 0 additions and 3 deletions

View 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: