1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-26 01:28:50 -05:00

No longer delete the Outbox every time it's empty - it makes it somewhat

more difficult to work with. If we want to hide it when it's empty,
that's fine. but it's not necessary to delete it.
This commit is contained in:
Jesse Vincent 2010-11-17 03:41:37 +00:00
parent a74643e5c1
commit 7291486ca0

View File

@ -3631,7 +3631,10 @@ public class MessagingController implements Runnable
} }
if (localFolder.getMessageCount() == 0) if (localFolder.getMessageCount() == 0)
{ {
localFolder.delete(false); // No longer delete the empty local outbox every time we finish sending mail
// There's no real win to it and it makes the folder selection UI extra stupid
// (We'd need a textentry widget to set the Outbox folder rather than a folder select widget)
// localFolder.delete(false);
} }
for (MessagingListener l : getListeners()) for (MessagingListener l : getListeners())
{ {