#451 Toggle checkboxes in view mode

Print stacktrace on IndexOutOfBoundsException
This commit is contained in:
stefan-niedermann 2019-12-31 10:53:19 +01:00 committed by Niedermann IT-Dienstleistungen
parent 1c4ccdae5e
commit 6afcca8567

View file

@ -97,6 +97,7 @@ public class NotePreviewFragment extends BaseNoteFragment {
saveNote(null);
} catch (IndexOutOfBoundsException e) {
Toast.makeText(getActivity(), "Checkbox could not be toggled.", Toast.LENGTH_SHORT).show();
e.printStackTrace();
}
return line;
}