Don't save preferences when exiting with "Send & Quit" button

The "Save & Quit" button disables the exit confirmation box, and that
change shouldn't be auto-saved.
This commit is contained in:
Sybren A. Stüvel 2021-02-16 11:34:35 +01:00
parent 14778e5c08
commit dd00bc9cb5

View File

@ -131,6 +131,7 @@ def silently_quit_blender():
prefs = bpy.context.preferences
prefs.view.use_save_prompt = False
prefs.use_preferences_save = False
bpy.ops.wm.quit_blender()