UI: File menu tweaks.
authorPablo Vazquez <contact@pablovazquez.art>
Thu, 28 Feb 2019 19:32:39 +0000 (20:32 +0100)
committerPablo Vazquez <contact@pablovazquez.art>
Thu, 28 Feb 2019 19:32:39 +0000 (20:32 +0100)
* Group Export with Save, Save As, Save Copy.
* Group Import with Link, Append.

Suggested by @fsiddi

release/scripts/startup/bl_ui/space_topbar.py

index aaf2f29..95dba68 100644 (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()