Fixed a bug where list wouldn't refresh after deleting from edit page

pull/14/head
Sam Bosley 13 years ago
parent 3d02188f7d
commit 7973b55993

@ -1007,7 +1007,7 @@ ViewPager.OnPageChangeListener, EditNoteActivity.UpdatesChangedListener {
taskService.delete(model);
shouldSaveState = false;
showDeleteToast();
getActivity().setResult(Activity.RESULT_CANCELED);
getActivity().setResult(Activity.RESULT_OK);
getActivity().onBackPressed();
}
}).setNegativeButton(android.R.string.cancel, null).show();

Loading…
Cancel
Save