diff options
author | Pablo Vazquez <venomgfx@gmail.com> | 2018-06-21 02:01:02 +0300 |
---|---|---|
committer | Pablo Vazquez <venomgfx@gmail.com> | 2018-06-21 02:01:02 +0300 |
commit | ed428b2c04cda06011ddb37df1b49ce0a8847ef2 (patch) | |
tree | 934a38262290bfc14a91a76c350b3813e884b789 /release | |
parent | f3bd5da7fc333b6ff768c90830783f6ade1a2d7d (diff) |
UI: Use Collection icon for New Collection in Outliner
Also temporarily bring back the toggle to search, since it's off by default.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_outliner.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_outliner.py b/release/scripts/startup/bl_ui/space_outliner.py index dea28d809c8..e8ae36aa3fc 100644 --- a/release/scripts/startup/bl_ui/space_outliner.py +++ b/release/scripts/startup/bl_ui/space_outliner.py @@ -38,11 +38,15 @@ class OUTLINER_HT_header(Header): layout.prop(space, "display_mode", icon_only=True) if display_mode in {'VIEW_LAYER'}: - layout.operator("outliner.collection_new", text="", icon="ZOOMIN").nested = True + layout.operator("outliner.collection_new", text="", icon="GROUP").nested = True layout.separator_spacer() - layout.prop(space, "filter_text", icon="VIEWZOOM", text="") + row = layout.row(align=True) + row.prop(space, "use_filter_search", text="") + sub = row.row(align=True) + sub.prop(space, "filter_text", text="") + sub.enabled = space.use_filter_search layout.separator_spacer() |