1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-18 17:10:05 +02:00

Bug 2055 - ENH: Export2 does not export by default

This commit is contained in:
Leland Lucius 2020-04-04 03:58:27 -05:00
parent 842b8f792b
commit 723e9feb7f

View File

@ -53,7 +53,9 @@ bool ImportCommand::Apply(const CommandContext & context){
bool ExportCommand::DefineParams( ShuttleParams & S ){
S.Define( mFileName, wxT("Filename"), "exported.wav" );
wxFileName fn = FileNames::DefaultToDocumentsFolder(wxT("/Export/Path"));
fn.SetName("exported.wav");
S.Define(mFileName, wxT("Filename"), fn.GetFullPath());
S.Define( mnChannels, wxT("NumChannels"), 1 );
return true;
}