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

Method UpdateTextBoxControls

src/TimerRecordDialog.cpp:513–522  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511}
512
513void TimerRecordDialog::UpdateTextBoxControls() {
514 // Will update the text box controls
515 m_pTimerSavePathTextCtrl->SetValue(m_fnAutoSaveFile.GetFullPath());
516 m_pTimerExportPathTextCtrl->SetValue(m_fnAutoExportFile.GetFullPath());
517
518 // MY: Ensure we still display "Current Project" if this has already been saved
519 if (m_bProjectAlreadySaved) {
520 m_pTimerSavePathTextCtrl->SetValue(_("Current Project"));
521 }
522}
523
524/// Runs the wait for start dialog. Returns -1 if the user clicks stop while we are recording
525/// or if the post recording actions fail.

Callers 2

Calls 1

SetValueMethod · 0.45

Tested by

no test coverage detected