commit e7308b6264bf5d3d27c3f8270356b001ab4731c4
parent 9a84275f946988324192c427a3c71a2fcd257d3f
Author: Paul <paul@claws-mail.org>
Date: Tue, 2 Feb 2016 13:06:03 +0000
fix Compose account selection when imap folder is selected
don't just select the imap account, ignoring default account et al
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/toolbar.c b/src/toolbar.c
@@ -2664,7 +2664,7 @@ void compose_mail_cb(gpointer data, guint action, GtkWidget *widget)
if (item) {
ac = account_find_from_item(item);
- if (ac && ac->protocol != A_NNTP) {
+ if (ac && ac->protocol != A_NNTP && ac->protocol != A_IMAP4) {
compose_new_with_folderitem(ac, item, NULL); /* CLAWS */
return;
}