mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-18 09:00:07 +02:00
minor cleanup in AudacityProject::OnPlayStopSelect
This commit is contained in:
parent
2df6400213
commit
369ebe40a4
@ -1862,12 +1862,11 @@ void AudacityProject::OnPlayStopSelect()
|
||||
if (gAudioIO->IsStreamActive(GetAudioIOToken())) {
|
||||
toolbar->SetPlay(false); //Pops
|
||||
toolbar->SetStop(true); //Pushes stop down
|
||||
// toolbar->StopPlaying();
|
||||
mViewInfo.sel0 = gAudioIO->GetStreamTime();
|
||||
if( mViewInfo.sel1 < mViewInfo.sel0 ) {
|
||||
mViewInfo.sel1 = mViewInfo.sel0;
|
||||
}
|
||||
GetControlToolBar()->OnStop(evt);
|
||||
toolbar->OnStop(evt);
|
||||
ModifyState();
|
||||
}
|
||||
else if (!gAudioIO->IsBusy()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user