mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 07:13:49 +01:00
Chain export commands: no cwd; use the default export path, not open
This commit is contained in:
@@ -434,7 +434,7 @@ wxString BatchCommands::BuildCleanFileName(const wxString &fileName, const wxStr
|
||||
// double endTime = project->mTracks->GetEndTime();
|
||||
// double startTime = 0.0;
|
||||
//OnSelectAll();
|
||||
pathName = gPrefs->Read(wxT("/DefaultOpenPath"), ::wxGetCwd());
|
||||
pathName = FileNames::FindDefaultPath(FileNames::Operation::Export);
|
||||
::wxMessageBox(wxString::Format(_("Export recording to %s\n/%s/%s%s"),
|
||||
pathName.c_str(), cleanedString.c_str(), justName.c_str(), extension.c_str()),
|
||||
_("Export recording"),
|
||||
|
||||
Reference in New Issue
Block a user