mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-14 12:57:06 -05:00
Clear scripting map overlay when closing project
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user