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