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:
parent
842b8f792b
commit
723e9feb7f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user