fix: crash when close editor
This commit is contained in:
parent
aadc8fd0f2
commit
8378857157
|
@ -383,7 +383,6 @@ void EditorList::forceCloseEditor(Editor *editor)
|
||||||
{
|
{
|
||||||
beginUpdate();
|
beginUpdate();
|
||||||
doRemoveEditor(editor);
|
doRemoveEditor(editor);
|
||||||
delete editor;
|
|
||||||
// Force layout update when creating, destroying or moving editors
|
// Force layout update when creating, destroying or moving editors
|
||||||
updateLayout();
|
updateLayout();
|
||||||
endUpdate();
|
endUpdate();
|
||||||
|
|
Loading…
Reference in New Issue