mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-07-07 05:36:07 +00:00
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…
x
Reference in New Issue
Block a user