diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-08-27 16:01:01 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-08-27 16:01:01 +0400 |
commit | 752cb7485de8d06b261084eac3ab1c259a20ead3 (patch) | |
tree | 38254dc72f0e8a839fc20e8469d51fed1093c3aa | |
parent | 01230b137438881d2bdd9f651143880c84b85bf1 (diff) |
Do not show confirm message when creating text block from menu.
-rw-r--r-- | release/scripts/startup/bl_ui/space_text.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py index 300211a26bf..12e07c19ca1 100644 --- a/release/scripts/startup/bl_ui/space_text.py +++ b/release/scripts/startup/bl_ui/space_text.py @@ -172,7 +172,9 @@ 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: |