Remove open task extra when switching filters on tablet (fixes bugs with dismissing task edit)

pull/14/head
Sam Bosley 12 years ago
parent 9c5b2a459c
commit 3e7f6433a0

@ -360,6 +360,8 @@ public class TaskListActivity extends AstridActivity implements MainMenuListener
tlfPager.showFilter((Filter) item);
return true;
}
getIntent().removeExtra(OPEN_TASK);
TaskEditFragment tef = getTaskEditFragment();
if (tef != null)
onBackPressed();

Loading…
Cancel
Save