From 7dd5833e305a77438b69bb1630babdc812dd39b4 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 11 Apr 2012 11:19:17 -0700 Subject: [PATCH] Clear filter query override when switching out of subtasks mode --- astrid/src/com/todoroo/astrid/activity/TaskListFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java b/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java index 91b5e836e..f56e560d4 100644 --- a/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java +++ b/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java @@ -1244,9 +1244,11 @@ public class TaskListFragment extends ListFragment implements OnScrollListener, if(newState) ((AstridActivity)getActivity()).setupTasklistFragmentWithFilterAndCustomTaskList(filter, extras, SubtasksListFragment.class); - else + else { + filter.setFilterQueryOverride(null); ((AstridActivity)getActivity()).setupTasklistFragmentWithFilterAndCustomTaskList(filter, extras, TaskListFragment.class); + } } protected boolean isDraggable() {