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

Auto adding .vlmc at the filename if not specified.

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