Ensure editor window deletion is deferred
This commit is contained in:
parent
7c48aee672
commit
9b95f0b33d
|
@ -364,7 +364,7 @@ void CEditorApplication::OnEditorClose()
|
||||||
|
|
||||||
if (pEditor != mpWorldEditor->TweakEditor())
|
if (pEditor != mpWorldEditor->TweakEditor())
|
||||||
{
|
{
|
||||||
delete pEditor;
|
pEditor->deleteLater();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mpActiveProject)
|
if (mpActiveProject)
|
||||||
|
|
Loading…
Reference in New Issue