Commit 0b8dbcd4 authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Auto adding .vlmc at the filename if not specified.

parent 45192e3b
......@@ -105,6 +105,8 @@ bool ProjectManager::checkProjectOpen( bool saveAs )
return false;
if ( m_projectFile != NULL )
delete m_projectFile;
if ( outputFileName.endsWith( ".vlmc" ) == false )
outputFileName += ".vlmc";
m_projectFile = new QFile( outputFileName );
}
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