talons

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

commit fb775752ebf03a505c17f0674d73b220dc41a97c
parent b38dbc64cb0dc06386314646f6def1a8b1495723
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 @@ -4996,6 +4996,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"),