Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-30 11:04:08 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-30 11:04:08 +0300
commitba1f292b32b6829cfc24dc2a3d126b104e65f63d (patch)
tree6fce904d7d41eb03cb9ea557eae4262f5d5e4974 /release/scripts/startup/bl_ui/space_topbar.py
parent25b7bdb6a96acfa0a43a50d5087a2d9be17347c1 (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.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py4
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")