Commit fc9c8cc0 authored by Wayne Stambaugh's avatar Wayne Stambaugh
Browse files

Fix footprint library file extension bug in CvPcb and Pcbnew due to...

Fix footprint library file extension bug in CvPcb and Pcbnew due to s-expression changes, fixes lp:1064593.
parent 87e773b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -299,7 +299,7 @@ void DIALOG_CVPCB_CONFIG::OnAddOrInsertLibClick( wxCommandEvent& event )
    if( (event.GetId() == ID_ADD_LIB) || (event.GetId() == ID_INSERT_LIB) )
    {
        list = m_ListLibr;
        wildcard = FootprintLibFileWildcard;
        wildcard = LegacyFootprintLibFileWildcard;
    }

    wxArrayInt selections;
+1 −1
Original line number Diff line number Diff line
@@ -273,7 +273,7 @@ void DIALOG_PCBNEW_CONFIG_LIBS::OnAddOrInsertLibClick( wxCommandEvent& event )

    wxFileDialog FilesDialog( this, _( "Footprint library files:" ), libpath,
                              wxEmptyString,
                              wxGetTranslation( FootprintLibFileWildcard ),
                              wxGetTranslation( LegacyFootprintLibFileWildcard ),
                              wxFD_DEFAULT_STYLE | wxFD_MULTIPLE );

    if( FilesDialog.ShowModal() != wxID_OK )