Commit 0ee50d39 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ProjectManager: Update projectName when creating a new project

parent 03dddec9
......@@ -347,6 +347,7 @@ ProjectManager::newProject( const QString &projectName, const QString &workspace
if ( closeProject() == false )
return ;
m_projectName = projectName;
emit projectNameChanged( projectName );
//Current project file has already been delete/nulled by ProjectManager::closeProject()
m_projectFile = new QFile( workspacePath + '/' + "project.vlmc" );
save();
......
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