Clear scripting map overlay when closing project
This commit is contained in:
parent
f172be5500
commit
23a20dd736
1 changed files with 1 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue