mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-23 14:41:27 +01:00
Bug 1580 - Residual
I'd missed the path for Export Audio and Export Selected Audio.
This commit is contained in:
@@ -523,7 +523,11 @@ bool Exporter::GetFilename()
|
||||
wxFileName tmpFile;
|
||||
tmpFile.AssignHomeDir();
|
||||
wxString tmpDirLoc = tmpFile.GetPath(wxPATH_GET_VOLUME);
|
||||
mFilename.SetPath(gPrefs->Read(wxT("/Export/Path"), tmpDirLoc + "\\Documents"));
|
||||
mFilename.SetPath(gPrefs->Read(wxT("/Export/Path"), tmpDirLoc + "\\Documents\\Audacity"));
|
||||
// The path might not exist.
|
||||
// There is no error if the path could not be created. That's OK.
|
||||
// The dialog that Audacity offers will allow the user to select a valid directory.
|
||||
mFilename.Mkdir(0755, wxPATH_MKDIR_FULL);
|
||||
#else
|
||||
mFilename.SetPath(gPrefs->Read(wxT("/Export/Path"), wxT("~/Documents")));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user