diff options
author | Xavier Thomas <xavier.thomas.1980@gmail.com> | 2010-07-19 21:45:03 +0400 |
---|---|---|
committer | Xavier Thomas <xavier.thomas.1980@gmail.com> | 2010-07-19 21:45:03 +0400 |
commit | e24d90acad5929e58dbc7500feae3fe6658e236b (patch) | |
tree | ab37b5d16bf7afdb181c7c94d8cc1143184bd5db /release/scripts/ui/space_info.py | |
parent | aa0e4277a2d54b0a18a9d43508f8288b49955034 (diff) |
Add a "Save Copy" entry in the File menu.
Diffstat (limited to 'release/scripts/ui/space_info.py')
-rw-r--r-- | release/scripts/ui/space_info.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/ui/space_info.py b/release/scripts/ui/space_info.py index ca8371b85fe..25f4e8b2097 100644 --- a/release/scripts/ui/space_info.py +++ b/release/scripts/ui/space_info.py @@ -93,6 +93,8 @@ class INFO_MT_file(bpy.types.Menu): layout.operator("wm.save_mainfile", text="Save", icon='FILE_TICK').check_existing = False layout.operator_context = 'INVOKE_AREA' 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.separator() |