summaryrefslogtreecommitdiff
path: root/src/uicmd.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/uicmd.cc')
-rw-r--r--src/uicmd.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uicmd.cc b/src/uicmd.cc
index 5ce7afb4..38225047 100644
--- a/src/uicmd.cc
+++ b/src/uicmd.cc
@@ -433,7 +433,7 @@ static void win_cb (Fl_Widget *w, void *cb_data) {
CustTabs *tabs = (CustTabs*) cb_data;
int choice = 1, ntabs = tabs->num_tabs();
- if (ntabs > 1)
+ if (prefs.show_quit_dialog && ntabs > 1)
choice = a_Dialog_choice5("Window contains more than one tab.",
"Close", "Cancel", NULL, NULL, NULL);
if (choice == 1)
@@ -573,7 +573,7 @@ void a_UIcmd_close_all_bw(void *)
BrowserWindow *bw;
int choice = 1;
- if (a_Bw_num() > 1)
+ if (prefs.show_quit_dialog && a_Bw_num() > 1)
choice = a_Dialog_choice5("More than one open tab or window.",
"Quit", "Cancel", NULL, NULL, NULL);
if (choice == 1)