mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-07 12:12:23 +01:00
Fix loading/saving user presets for external effects
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user