UI: File menu tweaks.

* Group Export with Save, Save As, Save Copy.
* Group Import with Link, Append.

Suggested by @fsiddi
This commit is contained in:
Pablo Vazquez
2019-02-28 20:32:39 +01:00
parent 05bb793b39
commit b104b3cdcf

View File

@@ -579,17 +579,14 @@ class TOPBAR_MT_file(Menu):
layout.operator("wm.save_as_mainfile", text="Save As...")
layout.operator_context = 'INVOKE_AREA'
layout.operator("wm.save_as_mainfile", text="Save Copy...").copy = True
layout.menu("TOPBAR_MT_file_export", icon='EXPORT')
layout.separator()
layout.operator_context = 'INVOKE_AREA'
layout.operator("wm.link", text="Link...", icon='LINK_BLEND')
layout.operator("wm.append", text="Append...", icon='APPEND_BLEND')
layout.separator()
layout.menu("TOPBAR_MT_file_import", icon='IMPORT')
layout.menu("TOPBAR_MT_file_export", icon='EXPORT')
layout.separator()