Correctly close the context action mode when deleting an account.

This commit is contained in:
Sander Bogaert 2012-08-28 11:18:59 -04:00 committed by Andrew Chen
parent 416ac8b646
commit 277669711c

View file

@ -1027,6 +1027,7 @@ public class Accounts extends K9ListActivity implements OnItemClickListener {
.deleteAccount(realAccount); .deleteAccount(realAccount);
K9.setServicesEnabled(Accounts.this); K9.setServicesEnabled(Accounts.this);
refresh(); refresh();
mActionMode.finish();
} }
} }
}); });