Clear filter query override when switching out of subtasks mode

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

@ -1244,10 +1244,12 @@ 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() {
return false; return false;

Loading…
Cancel
Save