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

Method OnDefaults

src/effects/EqualizationCurvesDialog.cpp:499–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499void EqualizationCurvesDialog::OnDefaults( wxCommandEvent & WXUNUSED(event))
500{
501 // we expect this to fail in LoadCurves (due to a lack of path) and handle that there
502 EQCurveReader{ mEditCurves, mName, mOptions }
503 .LoadCurves( wxT("EQDefaultCurves.xml") );
504 PopulateList(0); // update the EqualizationCurvesDialog dialog
505}
506
507void EqualizationCurvesDialog::OnOK(wxCommandEvent & WXUNUSED(event))
508{

Callers

nothing calls this directly

Calls 1

LoadCurvesMethod · 0.80

Tested by

no test coverage detected