diff --git a/src/lib/Application.cpp b/src/lib/Application.cpp index 5a477b31..7999bf23 100644 --- a/src/lib/Application.cpp +++ b/src/lib/Application.cpp @@ -117,7 +117,10 @@ void Application::createAndLoadProject(const FilePath& projectSettingsFilePath) void Application::loadProject(const FilePath& projectSettingsFilePath) { - m_componentManager->clearComponents(); + if (m_hasGUI) + { + m_componentManager->clearComponents(); + } bool reparse = false;