diff --git a/eeschema/widgets/panel_symbol_chooser.cpp b/eeschema/widgets/panel_symbol_chooser.cpp index e13894e461..e47d820784 100644 --- a/eeschema/widgets/panel_symbol_chooser.cpp +++ b/eeschema/widgets/panel_symbol_chooser.cpp @@ -289,6 +289,11 @@ PANEL_SYMBOL_CHOOSER::PANEL_SYMBOL_CHOOSER( SCH_BASE_FRAME* aFrame, wxWindow* aP } else { + // aEvent.Skip() should be sufficient to allow the normal key events to be + // generated (at least according to the wxWidgets documentation). And yet, + // here we are. + aEvent.DoAllowNextEvent(); + aEvent.Skip(); } } ); diff --git a/pcbnew/widgets/panel_footprint_chooser.cpp b/pcbnew/widgets/panel_footprint_chooser.cpp index c049adb50c..c6057fe653 100644 --- a/pcbnew/widgets/panel_footprint_chooser.cpp +++ b/pcbnew/widgets/panel_footprint_chooser.cpp @@ -182,6 +182,11 @@ PANEL_FOOTPRINT_CHOOSER::PANEL_FOOTPRINT_CHOOSER( PCB_BASE_FRAME* aFrame, wxTopL } else { + // aEvent.Skip() should be sufficient to allow the normal key events to be + // generated (at least according to the wxWidgets documentation). And yet, + // here we are. + aEvent.DoAllowNextEvent(); + aEvent.Skip(); } } );