mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Should fix keyboard problem on Linux...
...where accelerators were still being recognized when entering a track name or rate.
This commit is contained in:
parent
7bc176f5ac
commit
8504603e8a
@ -1081,7 +1081,9 @@ bool CommandManager::FilterKeyEvent(AudacityProject *project, const wxKeyEvent &
|
||||
}
|
||||
|
||||
// Any other keypresses must be destined for this project window.
|
||||
if (!permit && wxGetTopLevelParent(wxWindow::FindFocus()) != project)
|
||||
if (!permit &&
|
||||
(wxGetTopLevelParent(wxWindow::FindFocus()) != project ||
|
||||
!wxEventLoop::GetActive()->IsMain()))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user