Do not throw an error when cancelling 'Save email as...'.
authorwwp <subscript@free.fr>
Sun, 10 Mar 2019 08:05:33 +0000 (09:05 +0100)
committerwwp <subscript@free.fr>
Sun, 10 Mar 2019 08:05:33 +0000 (09:05 +0100)
src/summaryview.c

index 59bd9d6d25ec724ce29c6c6f20bf17c7f1d34379..d7b444099ad98d33769ed56e60abe3401c56d26f 100644 (file)
@@ -5029,6 +5029,7 @@ void summary_save_as(SummaryView *summaryview)
                dest = g_strconcat(prefs_common.attach_save_dir, G_DIR_SEPARATOR_S,
                                   dest, NULL);
        dest = filesel_select_file_save(_("Save as"), dest);
+       if (!dest) return;
 
        if (is_file_exist(dest)) {
                aval = alertpanel(_("Append or Overwrite"),