Bug 2668 - Residual: Help button on error dialog.

Bug 2668 is Audacity fails to report incompatible/future file versions
This change adds a help link on the error dialog to https://alphamanual.audacityteam.org/man/FAQ:Errors_opening_an_Audacity_project
This commit is contained in:
James Crook 2021-02-19 11:24:45 +00:00
parent 443e4171f2
commit b99a2e464f
1 changed files with 5 additions and 4 deletions

View File

@ -1485,11 +1485,12 @@ bool ProjectFileIO::HandleXMLTag(const wxChar *tag, const wxChar **attrs)
auto msg = XO("This file was saved using Audacity %s.\nYou are using Audacity %s. You may need to upgrade to a newer version to open this file.")
.Format(audacityVersion, AUDACITY_VERSION_STRING);
AudacityMessageBox(
msg,
ShowErrorDialog(
&window,
XO("Can't open project file"),
wxOK | wxICON_EXCLAMATION | wxCENTRE,
&window);
msg,
"FAQ:Errors_opening_an_Audacity_project"
);
return false;
}