1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-29 01:25:53 +01:00

Fix 9c75ebe, which caused TrackPanel not to get the message

This commit is contained in:
Paul Licameli
2019-05-21 20:22:28 -04:00
parent ad0580c3de
commit 441763cabd
5 changed files with 9 additions and 6 deletions

View File

@@ -185,8 +185,6 @@ BEGIN_EVENT_TABLE(TrackPanel, CellularPanel)
EVT_TIMER(wxID_ANY, TrackPanel::OnTimer)
EVT_COMMAND(wxID_ANY, EVT_ODTASK_UPDATE, TrackPanel::OnODTask)
EVT_COMMAND(wxID_ANY, EVT_ODTASK_COMPLETE, TrackPanel::OnODTask)
END_EVENT_TABLE()
/// Makes a cursor from an XPM, uses CursorId as a fallback.
@@ -317,6 +315,9 @@ TrackPanel::TrackPanel(wxWindow * parent, wxWindowID id,
&TrackPanel::OnPlayback,
this);
GetProject()->Bind(EVT_ODTASK_UPDATE, &TrackPanel::OnODTask, this);
GetProject()->Bind(EVT_ODTASK_COMPLETE, &TrackPanel::OnODTask, this);
UpdatePrefs();
}