1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 15:23:48 +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;

View File

@@ -135,9 +135,6 @@ class ControlToolBar final : public ToolBar {
void StartScrolling();
void StopScrolling();
// Commit the addition of temporary recording tracks into the project
void CommitRecording();
// Cancel the addition of temporary recording tracks into the project
void CancelRecording();