diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index f721b877..7afdc8a1 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -402,6 +402,7 @@ void MainWindow::on_action_Open_Project_triggered() if (!dir.isEmpty()) { if (this->editor && this->editor->project) { Scripting::cb_ProjectClosed(this->editor->project->root); + this->ui->graphicsView_Map->overlay.clearItems(); } porymapConfig.setRecentProject(dir); if (!openProject(dir)) {