mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-18 17:10:05 +02:00
Bug 1580 - Residual
I'd missed the path for Export Audio and Export Selected Audio.
This commit is contained in:
parent
e84a5b66ba
commit
5809499cfc
@ -523,7 +523,11 @@ bool Exporter::GetFilename()
|
|||||||
wxFileName tmpFile;
|
wxFileName tmpFile;
|
||||||
tmpFile.AssignHomeDir();
|
tmpFile.AssignHomeDir();
|
||||||
wxString tmpDirLoc = tmpFile.GetPath(wxPATH_GET_VOLUME);
|
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
|
#else
|
||||||
mFilename.SetPath(gPrefs->Read(wxT("/Export/Path"), wxT("~/Documents")));
|
mFilename.SetPath(gPrefs->Read(wxT("/Export/Path"), wxT("~/Documents")));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user