mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-09 16:41:14 +02:00
Bug 1731 - No help button in "Error: not well formed Iinvalid token at line (x)
This commit is contained in:
parent
eaada3a51d
commit
afe09bb172
@ -160,6 +160,8 @@ scroll information. It also has some status flags.
|
|||||||
#include "tracks/ui/PlayIndicatorOverlay.h"
|
#include "tracks/ui/PlayIndicatorOverlay.h"
|
||||||
#include "tracks/ui/Scrubbing.h"
|
#include "tracks/ui/Scrubbing.h"
|
||||||
|
|
||||||
|
#include "widgets/ErrorDialog.h"
|
||||||
|
|
||||||
#include "commands/ScriptCommandRelay.h"
|
#include "commands/ScriptCommandRelay.h"
|
||||||
#include "commands/CommandTargets.h"
|
#include "commands/CommandTargets.h"
|
||||||
#include "commands/Command.h"
|
#include "commands/Command.h"
|
||||||
@ -3297,9 +3299,14 @@ void AudacityProject::OpenFile(const wxString &fileNameArg, bool addtohistory)
|
|||||||
SetProjectTitle();
|
SetProjectTitle();
|
||||||
|
|
||||||
wxLogError(wxT("Could not parse file \"%s\". \nError: %s"), fileName, xmlFile.GetErrorStr());
|
wxLogError(wxT("Could not parse file \"%s\". \nError: %s"), fileName, xmlFile.GetErrorStr());
|
||||||
AudacityMessageBox(xmlFile.GetErrorStr(),
|
ShowErrorDialog(
|
||||||
_("Error Opening Project"),
|
this,
|
||||||
wxOK | wxCENTRE, this);
|
_("Error Opening Project"),
|
||||||
|
xmlFile.GetErrorStr(),
|
||||||
|
wxT("FAQ:Errors_on_opening_or_recovering_an_Audacity_project"));
|
||||||
|
// AudacityMessageBox(
|
||||||
|
// _("Error Opening Project"),
|
||||||
|
// wxOK | wxCENTRE, this);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user