UI: Move Save Incremental Menu Item Down
Move "Save Incremental" down the File menu to the bottom of its section. Pull Request: https://projects.blender.org/blender/blender/pulls/123463
This commit is contained in:
parent
7bbb914949
commit
9c4e56e307
@ -244,15 +244,16 @@ class TOPBAR_MT_file(Menu):
|
|||||||
layout.operator_context = 'EXEC_AREA' if context.blend_data.is_saved else 'INVOKE_AREA'
|
layout.operator_context = 'EXEC_AREA' if context.blend_data.is_saved else 'INVOKE_AREA'
|
||||||
layout.operator("wm.save_mainfile", text="Save", icon='FILE_TICK')
|
layout.operator("wm.save_mainfile", text="Save", icon='FILE_TICK')
|
||||||
|
|
||||||
sub = layout.row()
|
|
||||||
sub.enabled = context.blend_data.is_saved
|
|
||||||
sub.operator("wm.save_mainfile", text="Save Incremental").incremental = True
|
|
||||||
|
|
||||||
layout.operator_context = 'INVOKE_AREA'
|
layout.operator_context = 'INVOKE_AREA'
|
||||||
layout.operator("wm.save_as_mainfile", text="Save As...")
|
layout.operator("wm.save_as_mainfile", text="Save As...")
|
||||||
layout.operator_context = 'INVOKE_AREA'
|
layout.operator_context = 'INVOKE_AREA'
|
||||||
layout.operator("wm.save_as_mainfile", text="Save Copy...").copy = True
|
layout.operator("wm.save_as_mainfile", text="Save Copy...").copy = True
|
||||||
|
|
||||||
|
sub = layout.row()
|
||||||
|
sub.enabled = context.blend_data.is_saved
|
||||||
|
sub.operator_context = 'EXEC_AREA'
|
||||||
|
sub.operator("wm.save_mainfile", text="Save Incremental").incremental = True
|
||||||
|
|
||||||
layout.separator()
|
layout.separator()
|
||||||
|
|
||||||
layout.operator_context = 'INVOKE_AREA'
|
layout.operator_context = 'INVOKE_AREA'
|
||||||
|
Loading…
Reference in New Issue
Block a user