1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-07 15:05:38 +01:00

Eliminate GetActiveProject from src/ondemand

This commit is contained in:
Paul Licameli
2020-01-07 16:08:36 -05:00
parent 852c07bc58
commit 15d7d4271d
3 changed files with 3 additions and 5 deletions

View File

@@ -306,7 +306,7 @@ TrackPanel::TrackPanel(wxWindow * parent, wxWindowID id,
this);
auto theProject = GetProject();
theProject->Bind(EVT_ODTASK_UPDATE, &TrackPanel::OnODTask, this);
wxTheApp->Bind(EVT_ODTASK_UPDATE, &TrackPanel::OnODTask, this);
theProject->Bind(EVT_ODTASK_COMPLETE, &TrackPanel::OnODTask, this);
theProject->Bind(
EVT_PROJECT_SETTINGS_CHANGE, &TrackPanel::OnProjectSettingsChange, this);