1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 23:33:49 +01:00

DoPlayStopSelect into ProjectAudioManager; remove button push-down...

... which was redundant with what happens in the yield to idle events in
ProjectAudioManager::Stop.

This removes direct dependency of ProjectAudioManager on ControlToolBar.

And remove another #include we don't need
This commit is contained in:
Paul Licameli
2019-07-03 16:56:23 -04:00
parent ca8740b510
commit b6cd9a2b36
4 changed files with 15 additions and 28 deletions

View File

@@ -207,7 +207,7 @@ void OnPlayStop(const CommandContext &context)
void OnPlayStopSelect(const CommandContext &context)
{
DoPlayStopSelect( context.project );
ProjectAudioManager::Get( context.project ).DoPlayStopSelect();
}
void OnPlayLooped(const CommandContext &context)