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

Method OnAutoExportPathButton_Click

src/TimerRecordDialog.cpp:382–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382void TimerRecordDialog::OnAutoExportPathButton_Click(wxCommandEvent& WXUNUSED(event))
383{
384 // Set the options required
385 TimerRecordExportDialog exportDialog(mProject, this);
386 exportDialog.Bind(
387 m_fnAutoExportFile,
388 m_sAutoExportFormat,
389 m_iAutoExportSampleRate,
390 m_iAutoExportChannels,
391 m_AutoExportParameters);
392
393 if(exportDialog.ShowModal() != wxID_OK)
394 return;
395
396 m_pTimerExportPathTextCtrl->SetValue(m_fnAutoExportFile.GetFullPath());
397
398 // Update the text controls
399 this->UpdateTextBoxControls();
400}
401
402void TimerRecordDialog::OnAutoSaveCheckBox_Change(wxCommandEvent& WXUNUSED(event)) {
403 EnableDisableAutoControls(m_pTimerAutoSaveCheckBoxCtrl->GetValue(), CONTROL_GROUP_SAVE);

Callers

nothing calls this directly

Calls 4

UpdateTextBoxControlsMethod · 0.95
BindMethod · 0.80
ShowModalMethod · 0.45
SetValueMethod · 0.45

Tested by

no test coverage detected