1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Enable Help button for Nyquist effects

This commit is contained in:
Steve Daulton
2017-05-19 18:20:05 +01:00
parent 469120cebd
commit 1dd6b848c2
12 changed files with 64 additions and 19 deletions

View File

@@ -200,7 +200,8 @@ void HelpSystem::ShowHtmlText(wxWindow *pParent,
void HelpSystem::ShowHelpDialog(wxWindow *parent,
const wxString &localFileName,
const wxString &remoteURL,
bool bModal)
bool bModal,
bool alwaysDefaultBrowser)
{
wxASSERT(parent); // to justify safenew
AudacityProject * pProj = GetActiveProject();
@@ -250,7 +251,7 @@ void HelpSystem::ShowHelpDialog(wxWindow *parent,
Text.Replace( wxT("*URL*"), remoteURL );
ShowHtmlText( parent, _("Help on the Internet"), Text, false, bModal );
}
else if( HelpMode == wxT("Local") )
else if( HelpMode == wxT("Local") || alwaysDefaultBrowser)
{
// Local file, External browser
OpenInDefaultBrowser( wxString(wxT("file:"))+localFileName );