From 9b95f0b33d91bc7d8d8a7de900eb333c6cbc8250 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Tue, 28 May 2019 19:32:18 -1000 Subject: [PATCH] Ensure editor window deletion is deferred --- src/Editor/CEditorApplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Editor/CEditorApplication.cpp b/src/Editor/CEditorApplication.cpp index fd952209..7e883a7c 100644 --- a/src/Editor/CEditorApplication.cpp +++ b/src/Editor/CEditorApplication.cpp @@ -364,7 +364,7 @@ void CEditorApplication::OnEditorClose() if (pEditor != mpWorldEditor->TweakEditor()) { - delete pEditor; + pEditor->deleteLater(); } if (mpActiveProject)