| 336 | } |
| 337 | |
| 338 | bool EffectBassTreble::Editor::ValidateUI() |
| 339 | { |
| 340 | // This bit was copied from the original override of the effect's TransferDataFromWindow |
| 341 | if (! mUIParent->Validate() || !mUIParent->TransferDataFromWindow()) |
| 342 | { |
| 343 | return false; |
| 344 | } |
| 345 | |
| 346 | |
| 347 | mAccess.ModifySettings |
| 348 | ( |
| 349 | [this](EffectSettings& settings) |
| 350 | { |
| 351 | // pass back the modified settings to the MessageBuffer |
| 352 | // |
| 353 | EffectBassTreble::GetSettings(settings) = mSettings; |
| 354 | |
| 355 | return nullptr; |
| 356 | } |
| 357 | ); |
| 358 | |
| 359 | return true; |
| 360 | } |
| 361 |
nothing calls this directly
no test coverage detected