| 231 | TimerRecordDialog::~TimerRecordDialog() = default; |
| 232 | |
| 233 | void TimerRecordDialog::UpdateStart() |
| 234 | { |
| 235 | wxDateTime dateTime_UNow = wxDateTime::UNow(); |
| 236 | if (m_DateTime_Start < dateTime_UNow) { |
| 237 | m_DateTime_Start = dateTime_UNow; |
| 238 | m_pDatePickerCtrl_Start->SetValue(m_DateTime_Start); |
| 239 | m_pTimeTextCtrl_Start->SetValue(wxDateTime_to_AudacityTime(m_DateTime_Start)); |
| 240 | this->UpdateEnd(); // Keep Duration constant and update End for changed Start. |
| 241 | } |
| 242 | } |
| 243 | |
| 244 | void TimerRecordDialog::OnTimer(wxTimerEvent& WXUNUSED(event)) |
| 245 | { |
no test coverage detected