diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2018-11-23 05:47:02 +0300 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2018-11-23 05:47:32 +0300 |
commit | 3fdcd2293eadc277bc02297d4688a66f0456613b (patch) | |
tree | d82de63a70a15df601185160908939a43ad0b76b | |
parent | 1540a1ddd19d565a3e57ba2ddc34931caf363458 (diff) |
UI: Don't promt when deleting via Object Context Menu.
Suggested in the UI paper-cut thread at devtalk.blender.org by ThinkingPolygons
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index c83d3f55666..42cf680a521 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -1891,7 +1891,8 @@ class VIEW3D_MT_object_specials(Menu): layout.separator() - layout.operator("object.delete", text="Delete...").use_global = False + layout.operator_context = 'EXEC_DEFAULT' + layout.operator("object.delete", text="Delete").use_global = False class VIEW3D_MT_object_shading(Menu): |