talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 1f897835b04be0f71d3d48f53d798911c0605ecd
parent 6dc279d931599fa2c7be4b3cd49273625008d7a5
Author: wwp <subscript@free.fr>
Date:   Sun, 10 Mar 2019 09:05:33 +0100

Do not throw an error when cancelling 'Save email as...'.

Diffstat:
Msrc/summaryview.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/summaryview.c b/src/summaryview.c @@ -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"),