UI: add operator search to edit-menu

While this is most useful to access from an active-region,
it's not discoverable without a menu entry.
This commit is contained in:
Campbell Barton 2018-06-30 10:04:08 +02:00
parent 25b7bdb6a9
commit ba1f292b32
1 changed files with 4 additions and 0 deletions

View File

@ -499,6 +499,10 @@ class INFO_MT_edit(Menu):
layout.separator()
layout.operator("wm.search_menu", text="Operator Search...")
layout.separator()
# Should move elsewhere (impacts outliner & 3D view).
tool_settings = context.tool_settings
layout.prop(tool_settings, "lock_object_mode")