1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-17 00:07:54 +01:00

CommitRecording out of ControlToolBar

This commit is contained in:
Paul Licameli
2019-06-19 21:11:40 -04:00
parent 1d6ff11fec
commit ed5c92450d
6 changed files with 13 additions and 11 deletions

View File

@@ -1521,12 +1521,6 @@ void ControlToolBar::StopScrolling()
(ProjectWindow::PlaybackScroller::Mode::Off);
}
void ControlToolBar::CommitRecording()
{
const auto project = &mProject;
TrackList::Get( *project ).ApplyPendingTracks();
}
void ControlToolBar::CancelRecording()
{
const auto project = &mProject;