summaryrefslogtreecommitdiff
path: root/frontends/amiga/gui.c
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2016-12-15 18:23:52 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2016-12-15 18:23:52 +0000
commit9d77dc83bdd86f3a46ff00102a43c46718dac00b (patch)
tree132d5418a14025767b956c7598acf008900ff875 /frontends/amiga/gui.c
parentf04103398b284b9defb85c98d3079b0dfc43a15e (diff)
downloadnetsurf-9d77dc83bdd86f3a46ff00102a43c46718dac00b.tar.gz
netsurf-9d77dc83bdd86f3a46ff00102a43c46718dac00b.tar.bz2
Never warn the user about multiple tabs being open when we're in the process of quitting.
Diffstat (limited to 'frontends/amiga/gui.c')
-rw-r--r--frontends/amiga/gui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontends/amiga/gui.c b/frontends/amiga/gui.c
index ae2d4df5d..2c7bc82f6 100644
--- a/frontends/amiga/gui.c
+++ b/frontends/amiga/gui.c
@@ -2942,6 +2942,9 @@ void ami_quit_netsurf(void)
struct nsObject *nnode;
struct gui_window_2 *gwin;
+ /* Disable the multiple tabs open warning */
+ nsoption_set_bool(tab_close_warn, false);
+
if(!IsMinListEmpty(window_list)) {
node = (struct nsObject *)GetHead((struct List *)window_list);
@@ -3001,7 +3004,6 @@ void ami_quit_netsurf_delayed(void)
free(utf8gadgets);
#endif
if(res == -1) { /* Requester timed out */
- nsoption_set_bool(tab_close_warn, false);
ami_quit_netsurf();
}
}