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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user