1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 01:29:43 +02:00

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

This commit is contained in:
Paul Licameli 2016-05-18 11:02:56 -04:00
commit ed87d79133

View File

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