diff options
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index 059057d5a1..ccc93ea224 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -545,7 +545,7 @@ emu_save_parts_response (GtkWidget *filesel, int response, GSList *parts) } file_path = g_build_filename (path, file_name, NULL); - if (!g_file_test(file_path, (G_FILE_TEST_EXISTS))) + if (!g_file_test(file_path, (G_FILE_TEST_EXISTS)) || e_error_run(NULL, E_ERROR_ASK_FILE_EXISTS_OVERWRITE, file_name, NULL) == GTK_RESPONSE_OK) mail_save_part(part, file_path, NULL, NULL); else g_warning ("Could not save %s. File already exists", file_path); |