UI: remove search from toolbar popup

Reduce toolbar clutter, keep it only for tool access.

This is available in the menu, users who need to access this can use
the direct shortcut.
This commit is contained in:
Campbell Barton
2018-11-12 10:46:09 +11:00
parent fb70ee0bb5
commit e58da0b6e8

View File

@@ -2427,10 +2427,6 @@ class WM_OT_toolbar(Operator):
def draw_menu(popover, context):
layout = popover.layout
layout.operator_context = 'INVOKE_REGION_WIN'
layout.operator("wm.search_menu", text="Search Commands...", icon='VIEWZOOM')
cls.draw_cls(layout, context, detect_layout=False, scale_y=1.0)
wm.popover(draw_menu, ui_units_x=8, keymap=keymap)