mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-03 14:13:11 +02:00
Two more unneeded 'SetPlay()'s commented out for consistency.
This commit is contained in:
parent
0ff4403911
commit
2dc9325133
@ -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) ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user