mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
If app is inactive, don't change transport buttons for modifier keys
This commit is contained in:
@@ -604,6 +604,9 @@ void ControlToolBar::OnIdle(wxIdleEvent & event)
|
||||
{
|
||||
event.Skip();
|
||||
|
||||
if (!wxTheApp->IsActive())
|
||||
return;
|
||||
|
||||
auto &projectAudioManager = ProjectAudioManager::Get( mProject );
|
||||
if ( projectAudioManager.Paused() )
|
||||
mPause->PushDown();
|
||||
|
||||
Reference in New Issue
Block a user