From 318967f00dee5e0e70323d2325967aa762b78261 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Thu, 17 May 2018 21:22:31 -0400 Subject: [PATCH] Revert "If record overrides append because of channel count, record unlimited" This reverts commit b36482d6494063e6799f793ed5e6b9b696125b1a. --- src/toolbars/ControlToolBar.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/toolbars/ControlToolBar.cpp b/src/toolbars/ControlToolBar.cpp index 26b7d7b9a..c28e3fa8c 100644 --- a/src/toolbars/ControlToolBar.cpp +++ b/src/toolbars/ControlToolBar.cpp @@ -1141,13 +1141,12 @@ void ControlToolBar::OnRecord(wxCommandEvent &evt) } recordingTracks.push_back(pending); } - } - - if (t1 <= p->GetSel0() && p->GetSel1() > p->GetSel0()) { - t1 = p->GetSel1(); // record within the selection - } else { - t1 = DBL_MAX; // record for a long, long time + if (t1 <= p->GetSel0() && p->GetSel1() > p->GetSel0()) { + t1 = p->GetSel1(); // record within the selection + } else { + t1 = DBL_MAX; // record for a long, long time + } } if( recordingTracks.empty() )