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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user