mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-17 16:50:26 +02:00
Bug, unreported: Timer record "?" button brought up a frozen dialog...
... on Mac at least.
This commit is contained in:
parent
aff461a949
commit
5c044c0cea
@ -6373,7 +6373,11 @@ void AudacityProject::OnTimerRecord()
|
|||||||
|
|
||||||
TimerRecordDialog dialog(this, bProjectSaved); /* parent, project saved? */
|
TimerRecordDialog dialog(this, bProjectSaved); /* parent, project saved? */
|
||||||
int modalResult = dialog.ShowModal();
|
int modalResult = dialog.ShowModal();
|
||||||
if (modalResult == wxID_CANCEL)
|
if (modalResult == wxID_CONTEXT_HELP)
|
||||||
|
{
|
||||||
|
HelpSystem::ShowHelpDialog(this, wxT("Timer_Record"));
|
||||||
|
}
|
||||||
|
else if (modalResult == wxID_CANCEL)
|
||||||
{
|
{
|
||||||
// Cancelled before recording - don't need to do anyting.
|
// Cancelled before recording - don't need to do anyting.
|
||||||
}
|
}
|
||||||
|
@ -348,7 +348,7 @@ void TimerRecordDialog::OnAutoExportCheckBox_Change(wxCommandEvent& WXUNUSED(eve
|
|||||||
|
|
||||||
void TimerRecordDialog::OnHelpButtonClick(wxCommandEvent& WXUNUSED(event))
|
void TimerRecordDialog::OnHelpButtonClick(wxCommandEvent& WXUNUSED(event))
|
||||||
{
|
{
|
||||||
HelpSystem::ShowHelpDialog(this, wxT("Timer_Record"));
|
EndModal(wxID_CONTEXT_HELP);
|
||||||
}
|
}
|
||||||
|
|
||||||
wxString TimerRecordDialog::GetHoursMinsString(int iMinutes) {
|
wxString TimerRecordDialog::GetHoursMinsString(int iMinutes) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user