diff --git a/cvpcb/cvpcb_mainframe.cpp b/cvpcb/cvpcb_mainframe.cpp index c63d760c69..0b3b276e6d 100644 --- a/cvpcb/cvpcb_mainframe.cpp +++ b/cvpcb/cvpcb_mainframe.cpp @@ -419,8 +419,11 @@ void CVPCB_MAINFRAME::OnEnterFilteringText( wxCommandEvent& aEvent ) // If the option FOOTPRINTS_LISTBOX::FILTERING_BY_TEXT_PATTERN is set, update the list // of available footprints which match the filter + long pos = m_tcFilterString->GetInsertionPoint(); wxListEvent l_event; OnSelectComponent( l_event ); + m_tcFilterString->SetFocus(); + m_tcFilterString->SetInsertionPoint( pos ); }