Clear filter query override when switching out of subtasks mode

pull/14/head
Sam Bosley 13 years ago
parent cf486bfed7
commit 7dd5833e30

@ -1244,9 +1244,11 @@ public class TaskListFragment extends ListFragment implements OnScrollListener,
if(newState) if(newState)
((AstridActivity)getActivity()).setupTasklistFragmentWithFilterAndCustomTaskList(filter, ((AstridActivity)getActivity()).setupTasklistFragmentWithFilterAndCustomTaskList(filter,
extras, SubtasksListFragment.class); extras, SubtasksListFragment.class);
else else {
filter.setFilterQueryOverride(null);
((AstridActivity)getActivity()).setupTasklistFragmentWithFilterAndCustomTaskList(filter, ((AstridActivity)getActivity()).setupTasklistFragmentWithFilterAndCustomTaskList(filter,
extras, TaskListFragment.class); extras, TaskListFragment.class);
}
} }
protected boolean isDraggable() { protected boolean isDraggable() {

Loading…
Cancel
Save