Null pointer check

pull/14/head
Sam Bosley 11 years ago
parent 4b68f23833
commit 4c8424cd72

@ -1063,7 +1063,7 @@ public class TaskListFragment extends SherlockListFragment implements OnSortSele
public void reconstructCursor() {
TodorooCursor<Task> cursor = constructCursor();
if (cursor == null)
if (cursor == null || taskAdapter == null)
return;
taskAdapter.changeCursor(cursor);
}

Loading…
Cancel
Save