mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 13:12:17 +01:00
Move function from AudacityProject to TransportActions
This commit is contained in:
@@ -1305,7 +1305,7 @@ void ControlToolBar::OnRewind(wxCommandEvent & WXUNUSED(evt))
|
||||
|
||||
AudacityProject *p = GetActiveProject();
|
||||
if (p) {
|
||||
p->StopIfPaused();
|
||||
TransportActions::StopIfPaused( *p );
|
||||
p->Rewind(mRewind->WasShiftDown());
|
||||
}
|
||||
}
|
||||
@@ -1318,7 +1318,7 @@ void ControlToolBar::OnFF(wxCommandEvent & WXUNUSED(evt))
|
||||
AudacityProject *p = GetActiveProject();
|
||||
|
||||
if (p) {
|
||||
p->StopIfPaused();
|
||||
TransportActions::StopIfPaused( *p );
|
||||
p->SkipEnd(mFF->WasShiftDown());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user