mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 09:20:16 +01:00
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:
@@ -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.")
|
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);
|
.Format(audacityVersion, AUDACITY_VERSION_STRING);
|
||||||
|
|
||||||
AudacityMessageBox(
|
ShowErrorDialog(
|
||||||
msg,
|
&window,
|
||||||
XO("Can't open project file"),
|
XO("Can't open project file"),
|
||||||
wxOK | wxICON_EXCLAMATION | wxCENTRE,
|
msg,
|
||||||
&window);
|
"FAQ:Errors_opening_an_Audacity_project"
|
||||||
|
);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user