fix bug 4134, ''Save message to' option not set when it should be'
authorPaul <paul@claws-mail.org>
Mon, 17 Dec 2018 11:20:13 +0000 (11:20 +0000)
committerPaul <paul@claws-mail.org>
Mon, 17 Dec 2018 11:20:13 +0000 (11:20 +0000)
src/compose.c

index d851fd8..8d8e097 100644 (file)
@@ -10145,7 +10145,7 @@ static void account_activated(GtkComboBox *optmenu, gpointer data)
                compose_set_save_to(compose, folderidentifier);
                g_free(folderidentifier);
        } else if (account_get_special_folder(compose->account, F_OUTBOX)) {
-               if (compose->account->set_sent_folder)
+               if (compose->account->set_sent_folder || prefs_common.savemsg)
                        gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(compose->savemsg_checkbtn), TRUE);
                else
                        gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(compose->savemsg_checkbtn), FALSE);