mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01:00
Separate versions of DoImportMIDI that do and don't assume a project
This commit is contained in:
@@ -326,7 +326,7 @@ public:
|
||||
for (const auto &name : sortednames) {
|
||||
#ifdef USE_MIDI
|
||||
if (FileNames::IsMidi(name))
|
||||
FileActions::DoImportMIDI(mProject, name);
|
||||
FileActions::DoImportMIDI( *mProject, name);
|
||||
else
|
||||
#endif
|
||||
ProjectFileManager::Get( *mProject ).Import(name);
|
||||
|
||||
Reference in New Issue
Block a user