1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-27 17:48:38 +02:00

Don't pop record up if you click it twice; also may fix moonphase...

... reported by Peter:  sometimes stop button gets disabled during record
This commit is contained in:
Paul Licameli 2016-05-18 10:59:38 -04:00
parent e1f4ab6af6
commit da8973570b

View File

@ -877,7 +877,10 @@ void ControlToolBar::OnRecord(wxCommandEvent &evt)
} }
if (gAudioIO->IsBusy()) { if (gAudioIO->IsBusy()) {
if (!CanStopAudioStream() || 0 == gAudioIO->GetNumCaptureChannels())
mRecord->PopUp(); mRecord->PopUp();
else
mRecord->PushDown();
return; return;
} }
AudacityProject *p = GetActiveProject(); AudacityProject *p = GetActiveProject();