[vlmc-devel] ProjectManager: Fix new project appending to recent projects list.

Hugo Beauzée-Luyssen git at videolan.org
Wed Sep 5 17:43:04 CEST 2012


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Sep  5 17:37:56 2012 +0300| [1e48b882030690a1b04a5e1031135d39353e4b59] | committer: Hugo Beauzée-Luyssen

ProjectManager: Fix new project appending to recent projects list.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=1e48b882030690a1b04a5e1031135d39353e4b59
---

 src/Gui/project/GuiProjectManager.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/Gui/project/GuiProjectManager.cpp b/src/Gui/project/GuiProjectManager.cpp
index 94a0b14..9110298 100644
--- a/src/Gui/project/GuiProjectManager.cpp
+++ b/src/Gui/project/GuiProjectManager.cpp
@@ -184,6 +184,7 @@ GUIProjectManager::newProject( const QString &projectName, const QString &worksp
     //Current project file has already been delete/nulled by ProjectManager::closeProject()
     m_projectFile = new QFile( workspacePath + '/' + "project.vlmc" );
     saveProject( false );
+    appendToRecentProject( projectName );
 }
 
 



More information about the Vlmc-devel mailing list