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 59bd9d6..d7b4440 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"),