1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-07 20:22:13 +01:00

Register a predicate with each CommandFlag bit

This commit is contained in:
Paul Licameli
2019-06-08 20:35:21 -04:00
parent 36e3a03c7f
commit 705b4b28e7
14 changed files with 308 additions and 57 deletions

View File

@@ -824,7 +824,7 @@ void ControlToolBar::OnStop(wxCommandEvent & WXUNUSED(evt))
}
}
bool ControlToolBar::CanStopAudioStream()
bool ControlToolBar::CanStopAudioStream() const
{
auto gAudioIO = AudioIO::Get();
return (!gAudioIO->IsStreamActive() ||