Fixed a crash when deleting list from list settings page

pull/14/head
Sam Bosley 11 years ago
parent 4af3984f75
commit 76a8444ffe

@ -144,7 +144,7 @@ public class TagViewFragment extends TaskListFragment {
private Filter originalFilter;
private boolean justDeleted = false;
protected boolean justDeleted = false;
// --- UI initialization

@ -69,7 +69,7 @@ public class SubtasksTagListFragment extends TagViewFragment {
@Override
public void onResume() {
super.onResume();
if (lastVisibleIndex >=0) {
if (lastVisibleIndex >= 0 && !justDeleted) {
getListView().setSelection(lastVisibleIndex);
}
}

Loading…
Cancel
Save