diff --git a/pcbnew/pcb_base_edit_frame.cpp b/pcbnew/pcb_base_edit_frame.cpp index 3b701aaecc..434ee6fe83 100644 --- a/pcbnew/pcb_base_edit_frame.cpp +++ b/pcbnew/pcb_base_edit_frame.cpp @@ -104,6 +104,9 @@ bool PCB_BASE_EDIT_FRAME::TryBefore( wxEvent& aEvent ) wxKeyCode viewSwitchKey = WXK_WINDOWS_LEFT; #endif + if( aEvent.GetEventType() != wxEVT_CHAR && aEvent.GetEventType() != wxEVT_CHAR_HOOK ) + return PCB_BASE_FRAME::TryBefore( aEvent ); + if( !s_presetSwitcherShown && wxGetKeyState( presetSwitchKey ) && wxGetKeyState( WXK_TAB ) ) { if( m_appearancePanel && this->IsActive() )