fix for smtp-only accounts when global pref for save sent msg is set
authorPaul <paul@claws-mail.org>
Mon, 29 Oct 2018 09:03:04 +0000 (09:03 +0000)
committerPaul <paul@claws-mail.org>
Mon, 29 Oct 2018 09:03:04 +0000 (09:03 +0000)
src/compose.c

index 487ec1c..6de8169 100644 (file)
@@ -7535,7 +7535,7 @@ static GtkWidget *compose_create_others(Compose *compose)
        g_signal_connect_after(G_OBJECT(savemsg_combo), "grab_focus",
                         G_CALLBACK(compose_grab_focus_cb), compose);
        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(savemsg_checkbtn), TRUE);
                else
                        gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(savemsg_checkbtn), FALSE);