Commit a33fa4be authored by luyikei's avatar luyikei Committed by Hugo Beauzée-Luyssen

RecentProjects: Add a project also when the project is saved

Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 642569b3
......@@ -56,6 +56,7 @@ Core::Core()
QObject::connect( m_currentProject, &Project::projectSaved, m_workflow, &MainWorkflow::setClean );
QObject::connect( m_library, &Library::cleanStateChanged, m_currentProject, &Project::libraryCleanChanged );
QObject::connect( m_currentProject, &Project::projectLoaded, m_recentProjects, &RecentProjects::projectLoaded );
QObject::connect( m_currentProject, &Project::projectSaved, m_recentProjects, &RecentProjects::projectLoaded );
QObject::connect( m_currentProject, &Project::projectClosed, m_library, &Library::clear );
QObject::connect( m_currentProject, &Project::projectClosed, m_workflow, &MainWorkflow::clear );
QObject::connect( m_currentProject, &Project::fpsChanged, m_workflow, &MainWorkflow::fpsChanged );
......
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