mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-09 06:06:24 +01:00
Add additional checks for macro output directory.
This bug still available in case: using old settings file or manual set it into settings file.
This commit is contained in:
@@ -63,6 +63,11 @@ void DoExport(AudacityProject &project, const FileExtension &format)
|
||||
// We either use a configured output path,
|
||||
// or we use the default documents folder - just as for exports.
|
||||
FilePath pathName = FileNames::FindDefaultPath(FileNames::Operation::MacrosOut);
|
||||
|
||||
if (!FileNames::WritableLocationCheck(pathName))
|
||||
{
|
||||
return;
|
||||
}
|
||||
/*
|
||||
// If we've gotten to this point, we are in batch mode, have a file format,
|
||||
// and the project has either been saved or a file has been imported. So, we
|
||||
|
||||
Reference in New Issue
Block a user