1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-21 16:37:12 +01:00

Don't rely on order of Bind to EVT_TRACK_PANEL_TIMER from project...

... instead, re-process the event, and let each handler bind to the one it
depends on.

This still leaves a critical ordering of construction of playback scroller and
play indicator overlay in AudacityProject::AudacityProject (reverse of the
previous), but that will be removed by other means.
This commit is contained in:
Paul Licameli
2019-01-23 14:22:10 -05:00
parent a73970d864
commit ac2fecf151
3 changed files with 15 additions and 16 deletions

View File

@@ -204,4 +204,6 @@ void ViewInfo::OnTimer(wxCommandEvent &event)
{
mRecentStreamTime = gAudioIO->GetStreamTime();
event.Skip();
// Propagate the message to other listeners bound to this
this->ProcessEvent( event );
}