aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell.c')
-rw-r--r--shell/e-shell.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 837bc3cc6c..7b99f2b9a4 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -1499,7 +1499,11 @@ e_shell_request_close_view (EShell *shell,
if (shell->priv->preparing_to_quit)
return FALSE;
- /* If it's the last view, ask for confirm. */
+ /* If it's the last view, save settings and ask for confirmation before
+ quitting. */
+
+ e_shell_view_save_defaults (shell_view);
+
if (e_shell_prepare_for_quit (shell))
return TRUE;
else