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

3rd arg of TryToMakeActionAllows always == 2nd; eliminate it

This commit is contained in:
Paul Licameli
2019-06-09 02:06:49 -04:00
parent e5a786c420
commit 94d9593df8
3 changed files with 8 additions and 9 deletions

View File

@@ -1082,7 +1082,6 @@ bool ControlToolBar::DoRecord(AudacityProject &project,
// NB: The call may have the side effect of changing flags.
bool allowed = MenuManager::Get(project).TryToMakeActionAllowed(
flags,
AudioIONotBusyFlag | CanStopAudioStreamFlag,
AudioIONotBusyFlag | CanStopAudioStreamFlag);
if (!allowed)