diff --git a/launcher/Application.cpp b/launcher/Application.cpp index 5e70286ac..a92c6b1e7 100644 --- a/launcher/Application.cpp +++ b/launcher/Application.cpp @@ -1760,6 +1760,10 @@ void Application::on_windowClose() if (mainWindow) { m_mainWindow = nullptr; } + auto logWindow = qobject_cast(sender()); + if (logWindow) { + m_viewLogWindow = nullptr; + } // quit when there are no more windows. if (shouldExitNow()) { exit(0);