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:
@@ -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