From 8a4a0f802f9d64e64d3c04c6bd7aa70dd537d0ac Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Fri, 13 Apr 2012 14:51:33 -0700 Subject: [PATCH] Don't set the title of the actual filter instance when switching to custom context --- astrid/src/com/todoroo/astrid/activity/TaskListFragment.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java b/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java index a2bd81d6a..07f3591b0 100644 --- a/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java +++ b/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java @@ -930,9 +930,8 @@ public class TaskListFragment extends ListFragment implements OnScrollListener, taskAdapter.changeCursor(currentCursor); // update title - filter.title = getString(R.string.TLA_custom); if (getActivity() instanceof TaskListActivity) - ((TaskListActivity) getActivity()).setListsTitle(filter.title); + ((TaskListActivity) getActivity()).setListsTitle(getString(R.string.TLA_custom)); // try selecting again for (int i = 0; i < currentCursor.getCount(); i++) {