commit 7e0c8bc23c4b6b6b6bb724042f40938c98f8ad97
parent 82c164bb8b0b88b3f04ca114a68e560866a9e818
Author: Paul <paul@claws-mail.org>
Date: Mon, 23 May 2022 11:06:57 +0100
fix bug 4583, 'Compose window 'Discard message' dialog is displayed even though draft is already saved'
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/compose.c b/src/compose.c
@@ -10607,6 +10607,8 @@ static void compose_save_cb(GtkAction *action, gpointer data)
Compose *compose = (Compose *)data;
compose_draft(compose, COMPOSE_KEEP_EDITING);
compose->rmode = COMPOSE_REEDIT;
+ compose->modified = FALSE;
+ compose_set_title(compose);
}
void compose_attach_from_list(Compose *compose, GList *file_list, gboolean free_data)