MCPcopy Create free account
hub / github.com/audacity/audacity / ValidateUI

Method ValidateUI

src/effects/BassTreble.cpp:338–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

336}
337
338bool 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

Callers

nothing calls this directly

Calls 3

GetSettingsFunction · 0.85
ValidateMethod · 0.45

Tested by

no test coverage detected