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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user