fix: crash when close editor

This commit is contained in:
Roy Qu 2022-10-21 21:20:02 +08:00
parent aadc8fd0f2
commit 8378857157
1 changed files with 0 additions and 1 deletions

View File

@ -383,7 +383,6 @@ void EditorList::forceCloseEditor(Editor *editor)
{
beginUpdate();
doRemoveEditor(editor);
delete editor;
// Force layout update when creating, destroying or moving editors
updateLayout();
endUpdate();