| 380 | } |
| 381 | |
| 382 | void 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 | |
| 402 | void TimerRecordDialog::OnAutoSaveCheckBox_Change(wxCommandEvent& WXUNUSED(event)) { |
| 403 | EnableDisableAutoControls(m_pTimerAutoSaveCheckBoxCtrl->GetValue(), CONTROL_GROUP_SAVE); |
nothing calls this directly
no test coverage detected