1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-03 22:19:07 +02:00

Two more unneeded 'SetPlay()'s commented out for consistency.

This commit is contained in:
james.k.crook@gmail.com 2014-08-17 13:06:54 +00:00
parent 0ff4403911
commit 2dc9325133
2 changed files with 2 additions and 2 deletions

View File

@ -2005,7 +2005,7 @@ void TrackPanel::SelectionHandleClick(wxMouseEvent & event,
//If we aren't currently playing back, start playing back at //If we aren't currently playing back, start playing back at
//the clicked point //the clicked point
ControlToolBar * ctb = p->GetControlToolBar(); ControlToolBar * ctb = p->GetControlToolBar();
ctb->SetPlay(true); //ctb->SetPlay(true);// Not needed as done in PlayPlayRegion
ctb->PlayPlayRegion(clicktime, endtime,false) ; ctb->PlayPlayRegion(clicktime, endtime,false) ;
} }

View File

@ -667,7 +667,7 @@ void ControlToolBar::OnKeyEvent(wxKeyEvent & event)
StopPlaying(); StopPlaying();
} }
else if (!gAudioIO->IsBusy()) { else if (!gAudioIO->IsBusy()) {
SetPlay(true);// Not needed as done in PlayPlayRegion //SetPlay(true);// Not needed as done in PlayPlayRegion
SetStop(false); SetStop(false);
PlayCurrentRegion(); PlayCurrentRegion();
} }