diff options
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 5a6d9dbd8f..dc7c8c541a 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -414,7 +414,7 @@ em_utils_composer_send_cb (EMsgComposer *composer, gpointer user_data) EAccount *account; account = e_msg_composer_get_preferred_account (composer); - if (!account->enabled) { + if (!account || !account->enabled) { e_error_run((GtkWindow *)composer, "mail:send-no-account-enabled", NULL); return; } |