Fixed bug where the displayed list wouldn't fully switch when creating a new list

pull/14/head
Sam Bosley 13 years ago
parent eb61f67859
commit 1f06c9982e

@ -326,7 +326,7 @@ public class TaskListActivity extends AstridActivity implements MainMenuListener
if ((requestCode == FilterListFragment.REQUEST_NEW_LIST || requestCode == FilterListFragment.REQUEST_NEW_FILTER) && resultCode == Activity.RESULT_OK) {
Filter newList = data.getParcelableExtra(TagSettingsActivity.TOKEN_NEW_FILTER);
if (newList != null) {
getIntent().putExtra(TaskListFragment.TOKEN_FILTER, newList);
onFilterItemClicked(newList); // Switch to the new list
FilterListFragment fla = getFilterListFragment();
if (fla != null)
fla.clear();

Loading…
Cancel
Save