Skip to content

Commit

Permalink
- fix crash when closing markdown editor tab
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph-hart committed Dec 18, 2023
1 parent e0a033e commit 58ff844
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hi_tools/mcl_editor/code_editor/FullEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ MarkdownPreviewSyncer::MarkdownPreviewSyncer(mcl::FullEditor& editor, MarkdownPr

MarkdownPreviewSyncer::~MarkdownPreviewSyncer()
{
setEnableScrollbarListening(false);
e.editor.getTextDocument().getCodeDocument().removeListener(this);
}

Expand Down

0 comments on commit 58ff844

Please sign in to comment.