mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-25 16:48:44 +02:00
Fix bug #1114
This commit is contained in:
parent
300f0f05a0
commit
f08c5245f6
@ -172,11 +172,11 @@ public:
|
||||
}
|
||||
|
||||
AudacityProject *project = GetActiveProject();
|
||||
if (!project)
|
||||
if (!project || !project->IsEnabled())
|
||||
{
|
||||
return Event_Skip;
|
||||
}
|
||||
|
||||
|
||||
wxWindow *handler = project->GetKeyboardCaptureHandler();
|
||||
if (handler && HandleCapture(handler, (wxKeyEvent &) event))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user