1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 15:23:48 +01:00

StopIfPaused is now a member function of ProjectAudioManager

This commit is contained in:
Paul Licameli
2019-07-03 10:27:58 -04:00
parent 2c840a75c5
commit ca8740b510
4 changed files with 13 additions and 12 deletions

View File

@@ -667,7 +667,7 @@ void ControlToolBar::OnRewind(wxCommandEvent & WXUNUSED(evt))
AudacityProject *p = &mProject;
{
TransportActions::StopIfPaused( *p );
ProjectAudioManager::Get( *p ).StopIfPaused();
ProjectWindow::Get( *p ).Rewind(mRewind->WasShiftDown());
}
}
@@ -680,7 +680,7 @@ void ControlToolBar::OnFF(wxCommandEvent & WXUNUSED(evt))
AudacityProject *p = &mProject;
{
TransportActions::StopIfPaused( *p );
ProjectAudioManager::Get( *p ).StopIfPaused();
ProjectWindow::Get( *p ).SkipEnd(mFF->WasShiftDown());
}
}