mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 22:21:11 +02:00
Bug 2185 - Import2: Incorrect error message if file not found
This commit is contained in:
@@ -669,6 +669,11 @@ bool Importer::Import(const FilePath &fName,
|
||||
return false;
|
||||
}
|
||||
|
||||
if( !wxFileExists(fName)){
|
||||
errorMessage.Printf(_("File \"%s\" not found."), fName);
|
||||
return false;
|
||||
}
|
||||
|
||||
// we were not able to recognize the file type
|
||||
errorMessage.Printf(_("Audacity did not recognize the type of the file '%s'.\nTry installing FFmpeg. For uncompressed files, also try File > Import > Raw Data."),fName);
|
||||
}
|
||||
|
Reference in New Issue
Block a user