From 2dc932513368e2d04b2ac682893c20177112463a Mon Sep 17 00:00:00 2001 From: "james.k.crook@gmail.com" Date: Sun, 17 Aug 2014 13:06:54 +0000 Subject: [PATCH] Two more unneeded 'SetPlay()'s commented out for consistency. --- src/TrackPanel.cpp | 2 +- src/toolbars/ControlToolBar.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TrackPanel.cpp b/src/TrackPanel.cpp index 51715311d..d7cb24630 100644 --- a/src/TrackPanel.cpp +++ b/src/TrackPanel.cpp @@ -2005,7 +2005,7 @@ void TrackPanel::SelectionHandleClick(wxMouseEvent & event, //If we aren't currently playing back, start playing back at //the clicked point ControlToolBar * ctb = p->GetControlToolBar(); - ctb->SetPlay(true); + //ctb->SetPlay(true);// Not needed as done in PlayPlayRegion ctb->PlayPlayRegion(clicktime, endtime,false) ; } diff --git a/src/toolbars/ControlToolBar.cpp b/src/toolbars/ControlToolBar.cpp index 0ea38b45e..468b95a43 100644 --- a/src/toolbars/ControlToolBar.cpp +++ b/src/toolbars/ControlToolBar.cpp @@ -667,7 +667,7 @@ void ControlToolBar::OnKeyEvent(wxKeyEvent & event) StopPlaying(); } else if (!gAudioIO->IsBusy()) { - SetPlay(true);// Not needed as done in PlayPlayRegion + //SetPlay(true);// Not needed as done in PlayPlayRegion SetStop(false); PlayCurrentRegion(); }