Skip to content
Snippets Groups Projects
Commit 5cd139b3 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Now that UIFC_XF_QUIT is persistent, check when printing to exit

parent 437e8545
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -840,7 +840,7 @@ bool
check_exit(bool force)
{
if (force || (uifc.exit_flags & UIFC_XF_QUIT)) {
if (settings.confirm_close) {
if (!(uifc.exit_flags & UIFC_XF_QUIT) && settings.confirm_close) {
if (!confirm("Are you sure you want to exit?", NULL))
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment