mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
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 "Import.h"
|
||||||
#include "ImportPlugin.h"
|
#include "ImportPlugin.h"
|
||||||
|
#include "../widgets/ErrorDialog.h"
|
||||||
#include "../Project.h"
|
#include "../Project.h"
|
||||||
|
|
||||||
#define DESC XO("MP3 files")
|
#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
|
// 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;
|
return MAD_FLOW_BREAK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user