diff --git a/src/nostalgia/studio/mainwindow.cpp b/src/nostalgia/studio/mainwindow.cpp index 032a717c..f9ccc464 100644 --- a/src/nostalgia/studio/mainwindow.cpp +++ b/src/nostalgia/studio/mainwindow.cpp @@ -313,6 +313,8 @@ void MainWindow::openProject(QString projectPath) { m_state.projectPath = projectPath; // reopen tabs auto openTabs = readTabs(); + // clear open tabs + writeTabs({}); for (auto t : openTabs) { try { openFile(t, true);