Reset account/identity/folder error on save

This commit is contained in:
M66B
2018-12-23 08:31:24 +00:00
parent db1443ad33
commit 51fa384ee9
3 changed files with 5 additions and 9 deletions

View File

@@ -516,9 +516,7 @@ public class FragmentIdentity extends FragmentEx {
identity.primary = (identity.synchronize && primary);
identity.store_sent = false;
identity.sent_folder = (sent == null ? null : sent.id);
if (!identity.synchronize)
identity.error = null;
identity.error = null;
if (identity.primary)
db.identity().resetPrimary();