Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-03-22 18:23:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-22 18:24:14 +0300
commitd554b8a748004db3542403339a59a62d61c753d9 (patch)
tree3e4025008f3e774cceecd04df307f861ae458528 /source
parent161393805f606089959f04b7656bd33b9b91311f (diff)
UI: skip confirmation menu on quit prompt to save
Diffstat (limited to 'source')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c
index 2e12ceab5b3..6573ae0f4a1 100644
--- a/source/blender/windowmanager/intern/wm_window.c
+++ b/source/blender/windowmanager/intern/wm_window.c
@@ -328,6 +328,8 @@ static void wm_block_confirm_quit_save(bContext *C, void *arg_block, void *UNUSE
WM_operator_properties_create_ptr(&props_ptr, ot);
RNA_boolean_set(&props_ptr, "exit", true);
+ /* No need for second confirmation popup. */
+ RNA_boolean_set(&props_ptr, "check_existing", false);
WM_operator_name_call_ptr(C, ot, WM_OP_INVOKE_DEFAULT, &props_ptr);
WM_operator_properties_free(&props_ptr);
}