Skip to content

Commit

Permalink
fix segfault (#9219)
Browse files Browse the repository at this point in the history
  • Loading branch information
hkiel committed Jul 11, 2022
1 parent 7bd1465 commit 882357b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions OMNotebook/OMNotebook/OMNotebookGUI/cellcommands.cpp
Expand Up @@ -501,6 +501,7 @@ namespace IAEX
vector<Cell *> cells = document()->getSelection();
if(cells.empty())
{
application()->clearPasteboard(); // HACK: clear pasteboard as this cell might be referenced in it
document()->getCursor()->deleteCurrentCell();
}
else
Expand Down

0 comments on commit 882357b

Please sign in to comment.