1
0
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:
Paul Licameli
2019-04-22 20:23:54 -04:00
parent d2717cac21
commit 22f6ee789c
7 changed files with 13 additions and 13 deletions

View File

@@ -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());
}
}