diff options
author | Pablo Vazquez <contact@pablovazquez.art> | 2019-02-28 22:32:39 +0300 |
---|---|---|
committer | Pablo Vazquez <contact@pablovazquez.art> | 2019-02-28 22:32:39 +0300 |
commit | b104b3cdcff00ac4ac17b3b52e05997aa92fb562 (patch) | |
tree | f0d32212d82ad6408ac7a8a1777e10c26546536c /release/scripts/startup/bl_ui | |
parent | 05bb793b3964d130a81168a6a1a26c41e369d166 (diff) |
UI: File menu tweaks.
* Group Export with Save, Save As, Save Copy.
* Group Import with Link, Append.
Suggested by @fsiddi
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r-- | release/scripts/startup/bl_ui/space_topbar.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py index aaf2f29a229..95dba6837b3 100644 --- a/release/scripts/startup/bl_ui/space_topbar.py +++ b/release/scripts/startup/bl_ui/space_topbar.py @@ -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() |