UI: Don't promt when deleting via Object Context Menu.

Suggested in the UI paper-cut thread at devtalk.blender.org by ThinkingPolygons
This commit is contained in:
Pablo Vazquez 2018-11-23 03:47:02 +01:00
parent 1540a1ddd1
commit 3fdcd2293e
1 changed files with 2 additions and 1 deletions

View File

@ -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):