| 348 | } |
| 349 | |
| 350 | bool EffectsPrefs::Commit() |
| 351 | { |
| 352 | auto& pluginManager = PluginManager::Get(); |
| 353 | |
| 354 | for(auto [provider, panel] : mLocations) |
| 355 | pluginManager.StoreCustomPaths(*provider, panel->GetLocations()); |
| 356 | |
| 357 | ShuttleGui S(this, eIsSavingToPrefs); |
| 358 | PopulateOrExchange(S); |
| 359 | |
| 360 | return true; |
| 361 | } |
| 362 | |
| 363 | namespace{ |
| 364 | PrefsPanel::Registration sAttachment{ "Effects", |
nothing calls this directly
no test coverage detected