diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-10 01:41:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-10 02:31:48 +0300 |
commit | 4fa39d9df8f9e2dac8acb0bfd4887758c905def0 (patch) | |
tree | edbaf42cd1b84d1df3bd83a05adfb7c0b420fa33 /release/scripts/startup/bl_ui | |
parent | 390dc94562ea01e41e560dbee1c481ad6b22eab7 (diff) |
UI: show confirmation for metaball delete
Matches other modes.
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index cf0f710a05a..d9f48ffc2b6 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -3407,7 +3407,9 @@ class VIEW3D_MT_edit_meta(Menu): layout.separator() layout.menu("VIEW3D_MT_edit_meta_showhide") - layout.operator("mball.delete_metaelems", text="Delete...") + + layout.operator_context = 'EXEC_DEFAULT' + layout.operator("mball.delete_metaelems", text="Delete") class VIEW3D_MT_edit_meta_showhide(Menu): |