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() )