mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 16:39:30 +02:00
Bug1718: AU effect presets import dialog should find user presets too
This commit is contained in:
parent
02403c1237
commit
7b70aa08af
@ -697,7 +697,11 @@ void AudioUnitEffectImportDialog::PopulateOrExchange(ShuttleGui & S)
|
||||
// Get all presets in the local domain for this effect
|
||||
wxDir::GetAllFiles(fn.GetFullPath(), &presets, wxT("*.aupreset"));
|
||||
|
||||
fn.PrependDir(wxT("~"));
|
||||
path.Printf(wxT("%s/%s/%s"),
|
||||
PRESET_USER_PATH,
|
||||
mEffect->mVendor.c_str(),
|
||||
mEffect->mName.c_str());
|
||||
fn = path;
|
||||
fn.Normalize();
|
||||
|
||||
// Get all presets in the user domain for this effect
|
||||
|
Loading…
x
Reference in New Issue
Block a user