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:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user