1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

Bug2593: Play-at-speed button should work after import

This commit is contained in:
Paul Licameli 2020-11-26 17:15:54 -05:00
parent 8c8e4cdb7d
commit 3189d05f87

View File

@ -947,8 +947,12 @@ AdornedRulerPanel::AdornedRulerPanel(AudacityProject* project,
wxTheApp->Bind(EVT_THEME_CHANGE, &AdornedRulerPanel::OnThemeChange, this);
// Bind event that updates the play region
mViewInfo->selectedRegion.Bind(EVT_SELECTED_REGION_CHANGE,
&AdornedRulerPanel::OnSelectionChange, this);
// And call it once to inititalize it
DoSelectionChange( mViewInfo->selectedRegion );
}
AdornedRulerPanel::~AdornedRulerPanel()