mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 12:12:23 +01:00
Separate versions of DoImportMIDI that do and don't assume a project
This commit is contained in:
@@ -1303,7 +1303,7 @@ void ProjectFileManager::OpenFile(const FilePath &fileNameArg, bool addtohistory
|
||||
{
|
||||
#ifdef USE_MIDI
|
||||
if (FileNames::IsMidi(fileName))
|
||||
FileActions::DoImportMIDI( &project, fileName );
|
||||
FileActions::DoImportMIDI( project, fileName );
|
||||
else
|
||||
#endif
|
||||
Import( fileName );
|
||||
|
||||
Reference in New Issue
Block a user