Crash with footnotes inside folded section

Testing version:
Version 2.0 (10209)

What were you doing:

  • In a note when the last section of the document is folded.
  • Position the cursor higher up in the document
  • Add a footnote

What feature did you use:

  • Add a footnote

What happened:

  • The footnote gets created within the folded section at the bottom of the document
  • When the link to the footnote is clicked, Bear crashes

What did you expect to happen:
I expected the footnote to be created at the end of the document (excluded from folding)
I expected clicking on the footnote link to take me to the footnote rather than crash


thanks for reporting this issue, will be fixed in the next update.