1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00

Fix loading/saving user presets for external effects

This commit is contained in:
Leland Lucius
2015-04-23 08:17:33 -05:00
parent dc12de8901
commit f7a7674e97

View File

@@ -534,6 +534,11 @@ bool Effect::LoadUserPreset(const wxString & name)
return true;
}
if (mClient)
{
return mClient->LoadUserPreset(name);
}
wxString parms;
if (!GetPrivateConfig(name, wxT("Parameters"), parms))
{
@@ -550,6 +555,11 @@ bool Effect::SaveUserPreset(const wxString & name)
return true;
}
if (mClient)
{
return mClient->SaveUserPreset(name);
}
wxString parms;
if (!GetAutomationParameters(parms))
{