automatically use external editor on fwd-as-attachment if option is set
authorPaul <paul@claws-mail.org>
Fri, 29 Jan 2016 13:33:25 +0000 (13:33 +0000)
committerPaul <paul@claws-mail.org>
Fri, 29 Jan 2016 13:33:25 +0000 (13:33 +0000)
src/compose.c

index cb506352c38a0e62a9e208012f4a791a17819f7d..f7d18a04f5548b7fdbd56a7aafc55363f7bbe2d9 100644 (file)
@@ -2069,6 +2069,9 @@ static Compose *compose_forward_multiple(PrefsAccount *account, GSList *msginfo_
        gtk_text_buffer_get_start_iter(textbuf, &iter);
        gtk_text_buffer_place_cursor(textbuf, &iter);
 
        gtk_text_buffer_get_start_iter(textbuf, &iter);
        gtk_text_buffer_place_cursor(textbuf, &iter);
 
+       if (prefs_common.auto_exteditor)
+               compose_exec_ext_editor(compose);
+
        gtk_widget_grab_focus(compose->header_last->entry);
        undo_unblock(compose->undostruct);
        compose->modified = FALSE;
        gtk_widget_grab_focus(compose->header_last->entry);
        undo_unblock(compose->undostruct);
        compose->modified = FALSE;