UI: expand names of collection menu

This commit is contained in:
Campbell Barton 2020-04-15 12:35:28 +10:00
parent e74535df08
commit af91bbc221
1 changed files with 6 additions and 2 deletions

View File

@ -243,10 +243,14 @@ class OUTLINER_MT_collection_new(Menu):
bl_label = "Collection"
def draw(self, context):
# Note: this menu is used in any context where collections exist,
# as a generic way to add data. The names here are expanded because
# this menu is often expended without it's title.
layout = self.layout
layout.operator("outliner.collection_new", text="New").nested = False
layout.operator("outliner.id_paste", text="Paste", icon='PASTEDOWN')
layout.operator("outliner.collection_new", text="New Collection").nested = False
layout.operator("outliner.id_paste", text="Paste Data-Blocks", icon='PASTEDOWN')
layout.separator()