Skip to content

Commit

Permalink
Fix insertion crashing in footnotes. Re #25
Browse files Browse the repository at this point in the history
  • Loading branch information
adomasven committed Jan 24, 2018
1 parent adfbeae commit 953d077
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -181,7 +181,8 @@ public void setText(String textString, boolean isRich) throws Exception {
cursor.collapseToStart();

// But don't move the cursor to the note
if (viewCursorInField && !isNote) {
// Unless the cursor is already in the note
if (viewCursorInField) {
// LibreOffice crashes while inserting RTF if we don't move the viewCursor here.
// Affects Ubuntu and maybe MacOS.
// Don't ask me why it crashes though.
Expand Down

0 comments on commit 953d077

Please sign in to comment.