diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-30 11:04:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-30 11:04:08 +0300 |
commit | ba1f292b32b6829cfc24dc2a3d126b104e65f63d (patch) | |
tree | 6fce904d7d41eb03cb9ea557eae4262f5d5e4974 | |
parent | 25b7bdb6a96acfa0a43a50d5087a2d9be17347c1 (diff) |
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.
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index ece8666d398..19516fda301 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -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") |