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