1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-27 07:43:50 +01:00

Eliminate GetActiveProject in TimerRecordDialog

This commit is contained in:
Paul Licameli
2020-01-01 23:41:04 -05:00
parent 7592227f14
commit ece7bd888d
3 changed files with 16 additions and 9 deletions

View File

@@ -326,7 +326,7 @@ void OnTimerRecord(const CommandContext &context)
//and therefore remove the newly inserted track.
TimerRecordDialog dialog(
&window, bProjectSaved); /* parent, project saved? */
&window, project, bProjectSaved); /* parent, project, project saved? */
int modalResult = dialog.ShowModal();
if (modalResult == wxID_CANCEL)
{