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

Method OnExportRangeChange

src/export/ExportAudioDialog.cpp:412–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410
411
412void ExportAudioDialog::OnExportRangeChange(wxCommandEvent& event)
413{
414 const auto enableSplits = event.GetId() == ExportRangeSplitID;
415 mExportOptionsPanel->SetCustomMappingEnabled(!enableSplits);
416 if(mSplitsPanel->IsShown() != enableSplits)
417 {
418 mExportSettingsDirty = true;
419 mSplitsPanel->Show(enableSplits);
420
421 Layout();
422 Fit();
423 }
424}
425void ExportAudioDialog::OnSplitModeChange(wxCommandEvent& event)
426{
427 mIncludeAudioBeforeFirstLabel->Enable(event.GetId() == ExportModeLabelsID);

Callers

nothing calls this directly

Calls 4

GetIdMethod · 0.80
IsShownMethod · 0.80
ShowMethod · 0.45

Tested by

no test coverage detected