1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 19:52:17 -05:00

Fix NPE when moving a message from Unified Inbox (multiple accounts)

This commit is contained in:
cketti 2013-03-05 04:09:47 +01:00
parent fe02f0c44a
commit c07f94e877

View File

@ -2309,7 +2309,9 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
folder = null; folder = null;
} }
displayFolderChoice(ACTIVITY_CHOOSE_FOLDER_MOVE, mAccount, folder, messages); Account account = messages.get(0).getFolder().getAccount();
displayFolderChoice(ACTIVITY_CHOOSE_FOLDER_MOVE, account, folder, messages);
} }
private void onCopy(Message message) { private void onCopy(Message message) {