File Menu, "Save startup file" no asks for save-over confirm.

Being a destructive action (and there are no versions saved as backup) it's an
OK convention to prevent accidents.
This commit is contained in:
Ton Roosendaal
2013-01-23 12:08:23 +00:00
parent 419ce840f9
commit 3e6892e18f

View File

@@ -124,8 +124,9 @@ class INFO_MT_file(Menu):
layout.operator("screen.userpref_show", text="User Preferences...", icon='PREFERENCES')
layout.operator_context = 'EXEC_AREA'
layout.operator_context = 'INVOKE_AREA'
layout.operator("wm.save_homefile", icon='SAVE_PREFS')
layout.operator_context = 'EXEC_AREA'
layout.operator("wm.read_factory_settings", icon='LOAD_FACTORY')
layout.separator()