Bug 2807 - Error message for a failed import of malforned MP3 lacks a "?" help button
This commit is contained in:
parent
28c7805459
commit
183d3dd1d8
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include "Import.h"
|
||||
#include "ImportPlugin.h"
|
||||
#include "../widgets/ErrorDialog.h"
|
||||
#include "../Project.h"
|
||||
|
||||
#define DESC XO("MP3 files")
|
||||
|
@ -1097,8 +1098,11 @@ enum mad_flow MP3ImportFileHandle::ErrorCB(struct mad_stream *stream,
|
|||
}
|
||||
|
||||
// Let the user know about the error
|
||||
AudacityMessageBox(XO("Import failed\n\nThis is likely caused by a malformed MP3.\n\n"));
|
||||
|
||||
ShowErrorDialog(
|
||||
nullptr,
|
||||
AudacityMessageBoxCaptionStr(),
|
||||
XO("Import failed\n\nThis is likely caused by a malformed MP3.\n\n"),
|
||||
"Opening_malformed_MP3_files");
|
||||
return MAD_FLOW_BREAK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue