Skip to content

Commit 6337d64

Browse files
Another idea what might cause #1766
1 parent 36a5ec2 commit 6337d64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Worksheet.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1105,12 +1105,12 @@ void Worksheet::ClearDocument() {
11051105
m_recalculateStart = NULL;
11061106
m_evaluationQueue.Clear();
11071107
TreeUndo_ClearBuffers();
1108-
DestroyTree();
11091108

11101109
m_blinkDisplayCaret = true;
11111110
SetSaved(false);
11121111
UpdateTableOfContents();
1113-
1112+
DestroyTree();
1113+
11141114
Scroll(0, 0);
11151115
}
11161116

0 commit comments

Comments
 (0)