1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-07 15:49:42 +02:00

Bugs 868, 1196 again: Fix alt-f6 cycle but not changing button focus

Mac and Linux problem only.

See commits 58e3f3da839694ea8da6db4aa5dce8a439a1484d
and a00f866b5425572dbb8032d93ad2627fa07e1d08
This commit is contained in:
Paul Licameli 2016-09-28 11:54:17 -04:00
parent acedbb8640
commit 2e8ee5fe75
2 changed files with 2 additions and 3 deletions

View File

@ -1142,7 +1142,6 @@ int AudacityApp::FilterEvent(wxEvent & event)
{ {
const auto window = ((wxWindow *)e.GetEventObject()); const auto window = ((wxWindow *)e.GetEventObject());
window->SetFocus(); window->SetFocus();
window->NavigateIn();
} }
} }
#endif #endif

View File

@ -2932,7 +2932,7 @@ void AudacityProject::NextWindow()
// navigation among top level windows stops because the keystrokes don't // navigation among top level windows stops because the keystrokes don't
// go to the CommandManager. // go to the CommandManager.
if (dynamic_cast<wxDialog*>(w)) { if (dynamic_cast<wxDialog*>(w)) {
w->NavigateIn(); w->SetFocus();
} }
#endif #endif
} }
@ -2984,7 +2984,7 @@ void AudacityProject::PrevWindow()
// navigation among top level windows stops because the keystrokes don't // navigation among top level windows stops because the keystrokes don't
// go to the CommandManager. // go to the CommandManager.
if (dynamic_cast<wxDialog*>(w)) { if (dynamic_cast<wxDialog*>(w)) {
w->NavigateIn(); w->SetFocus();
} }
#endif #endif
} }