diff --git a/src/com/fsck/k9/fragment/MessageListFragment.java b/src/com/fsck/k9/fragment/MessageListFragment.java index c7334e5c4..92c8d62ac 100644 --- a/src/com/fsck/k9/fragment/MessageListFragment.java +++ b/src/com/fsck/k9/fragment/MessageListFragment.java @@ -3304,6 +3304,10 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick } public boolean isLoadFinished() { + if (mCursorValid == null) { + return false; + } + boolean loadFinished = true; for (int i = 0; i < mCursorValid.length; i++) { loadFinished &= mCursorValid[i];