Commit 6626e4c4 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen
Browse files

Update the title bar when closing a project

parent 73a83717
...@@ -246,6 +246,9 @@ bool ProjectManager::closeProject() ...@@ -246,6 +246,9 @@ bool ProjectManager::closeProject()
delete m_projectFile; delete m_projectFile;
m_projectFile = NULL; m_projectFile = NULL;
} }
//This one is for the mainwindow, to update the title bar
emit projectUpdated( ProjectManager::unSavedProject, true );
//This one is for every part that need to clean something when the project is closed.
emit projectClosed(); emit projectClosed();
return true; return true;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment