mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Cleanup extension filename and bugfix session preview
This commit is contained in:
@@ -244,8 +244,7 @@ Source * Mixer::createSourceFile(const std::string &path)
|
||||
if ( SystemToolkit::file_exists( path ) ) {
|
||||
|
||||
// test type of file by extension
|
||||
std::string ext = SystemToolkit::extension_filename(path);
|
||||
if ( ext == "mix" )
|
||||
if ( SystemToolkit::has_extension(path, VIMIX_FILE_EXT ) )
|
||||
{
|
||||
// create a session source
|
||||
SessionFileSource *ss = new SessionFileSource;
|
||||
|
||||
Reference in New Issue
Block a user