diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-01-31 12:52:09 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-01-31 12:52:09 +0300 |
commit | 64b07e866a1454123a20c3be50353ec5c4fd0cc0 (patch) | |
tree | 1f49e6b00b36c76ede72828fae2457304aaef43a | |
parent | 52e1728a12ca65e506a0215f072eb3a6cbd19b59 (diff) |
Add icon to collection panel
-rw-r--r-- | release/scripts/startup/bl_ui/properties_collection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_collection.py b/release/scripts/startup/bl_ui/properties_collection.py index e71cb264f21..d67d694aec9 100644 --- a/release/scripts/startup/bl_ui/properties_collection.py +++ b/release/scripts/startup/bl_ui/properties_collection.py @@ -38,9 +38,9 @@ class COLLECTION_PT_context_collection(CollectionButtonsPanel, Panel): collection = context.layer_collection name = collection.name if name == 'Master Collection': - layout.label(text=name) + layout.label(text=name, icon='COLLAPSEMENU') else: - layout.prop(collection, "name") + layout.prop(collection, "name", text="", icon='COLLAPSEMENU') class COLLECTION_UL_objects(UIList): |