mirror of
				https://github.com/cookiengineer/audacity
				synced 2025-11-03 23:53:55 +01:00 
			
		
		
		
	Bug 2055 - ENH: Export2 does not export by default
This commit is contained in:
		@@ -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;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user