mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-16 16:20:50 +02:00
Bug2593: Play-at-speed button should work after import
This commit is contained in:
parent
8c8e4cdb7d
commit
3189d05f87
@ -947,8 +947,12 @@ AdornedRulerPanel::AdornedRulerPanel(AudacityProject* project,
|
|||||||
|
|
||||||
wxTheApp->Bind(EVT_THEME_CHANGE, &AdornedRulerPanel::OnThemeChange, this);
|
wxTheApp->Bind(EVT_THEME_CHANGE, &AdornedRulerPanel::OnThemeChange, this);
|
||||||
|
|
||||||
|
// Bind event that updates the play region
|
||||||
mViewInfo->selectedRegion.Bind(EVT_SELECTED_REGION_CHANGE,
|
mViewInfo->selectedRegion.Bind(EVT_SELECTED_REGION_CHANGE,
|
||||||
&AdornedRulerPanel::OnSelectionChange, this);
|
&AdornedRulerPanel::OnSelectionChange, this);
|
||||||
|
|
||||||
|
// And call it once to inititalize it
|
||||||
|
DoSelectionChange( mViewInfo->selectedRegion );
|
||||||
}
|
}
|
||||||
|
|
||||||
AdornedRulerPanel::~AdornedRulerPanel()
|
AdornedRulerPanel::~AdornedRulerPanel()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user