diff --git a/source/frontend/carla_host.py b/source/frontend/carla_host.py index b6dc10a14..673c7725f 100644 --- a/source/frontend/carla_host.py +++ b/source/frontend/carla_host.py @@ -968,9 +968,12 @@ class HostWindow(QMainWindow): if self.fCustomStopAction == self.CUSTOM_ACTION_PROJECT_LOAD: self.removeAllPlugins() - elif self.fPluginCount != 0: - self.fCurrentlyRemovingAllPlugins = True - self.projectLoadingStarted() + else: + self.fProjectFilename = "" + self.setProperWindowTitle() + if self.fPluginCount != 0: + self.fCurrentlyRemovingAllPlugins = True + self.projectLoadingStarted() if self.host.is_engine_running() and not self.host.remove_all_plugins(): self.ui.text_logs.appendPlainText("Failed to remove all plugins, error was:")