UI: skip confirmation menu on quit prompt to save
This commit is contained in:
parent
161393805f
commit
d554b8a748
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue