From: alexander chumakov Date: Tue, 2 Mar 2010 05:28:17 +0000 (+0300) Subject: Fixed Modest crashes after tapping back button in new mail editor X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=2e629db997bbb18f04f12ba67315c552b8dfc65e;hp=54610a0e8f44ebf17691887661cc54b78b379702 Fixed Modest crashes after tapping back button in new mail editor Fixed bug #158249 --- diff --git a/src/modest-account-mgr.c b/src/modest-account-mgr.c index 1ce99a1..a52eec6 100644 --- a/src/modest-account-mgr.c +++ b/src/modest-account-mgr.c @@ -1475,7 +1475,7 @@ modest_account_mgr_has_accounts (ModestAccountMgr* self, gboolean enabled) if (enabled && priv->has_enabled_accounts) return TRUE; - else if (priv->has_accounts) + else if (!enabled && priv->has_accounts) return TRUE; /* Check that at least one account exists: */