From dfc04d7e2b6938f01ca75a2854ca3ac7afc04024 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 27 Jan 2011 17:30:41 -0500 Subject: Bug 640760 - New mail "stuck" if missing attachment dialog cancelled --- mail/em-composer-utils.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/em-composer-utils.c') diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 2668e2f1e0..6929f7069d 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -402,6 +402,9 @@ composer_presend_check_plugins (EMsgComposer *composer) /* A non-NULL value for this key means the check failed. */ data = g_object_get_data (G_OBJECT (composer), "presend_check_status"); + /* Clear the value in case we have to run these checks again. */ + g_object_set_data (G_OBJECT (composer), "presend_check_status", NULL); + return (data == NULL); } -- cgit