[nostalgia/studio] Fix to clear open tabs before opening them on start

This commit is contained in:
Gary Talent 2020-10-13 00:34:15 -05:00
parent b1d94782db
commit 2ba051906a

View File

@ -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);