Skip to content

Commit

Permalink
port 278 - version 021 - Outliner, Default layout, revealed hidden se…
Browse files Browse the repository at this point in the history
…arch field by putting the search options into the view menu.

Issue: http://www.bforartists.de/content/port-278-021-changes
  • Loading branch information
ReinerBforartists committed Jan 23, 2017
1 parent 8af7b83 commit 9c75a6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions release/scripts/startup/bl_ui/space_outliner.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def draw_menus(layout, context):
space = context.space_data

layout.menu("OUTLINER_MT_view")
layout.menu("OUTLINER_MT_search")

if space.display_mode == 'DATABLOCKS':
layout.menu("OUTLINER_MT_edit_datablocks")
Expand All @@ -121,6 +120,8 @@ def draw(self, context):

space = context.space_data

layout.menu("OUTLINER_MT_search")

if space.display_mode not in {'DATABLOCKS', 'USER_PREFERENCES', 'KEYMAPS'}:
layout.prop(space, "use_sort_alpha")
layout.prop(space, "show_restrict_columns")
Expand All @@ -138,7 +139,7 @@ def draw(self, context):


class OUTLINER_MT_search(Menu):
bl_label = "Search"
bl_label = "Search Options"

def draw(self, context):
layout = self.layout
Expand Down

0 comments on commit 9c75a6b

Please sign in to comment.