Fix footprint library file extension bug in CvPcb and Pcbnew due to s-expression changes, fixes lp:1064593.

This commit is contained in:
Wayne Stambaugh 2012-10-09 15:18:12 -04:00
parent 87e773b6f6
commit fc9c8cc0ec
2 changed files with 2 additions and 2 deletions

View File

@ -299,7 +299,7 @@ void DIALOG_CVPCB_CONFIG::OnAddOrInsertLibClick( wxCommandEvent& event )
if( (event.GetId() == ID_ADD_LIB) || (event.GetId() == ID_INSERT_LIB) ) if( (event.GetId() == ID_ADD_LIB) || (event.GetId() == ID_INSERT_LIB) )
{ {
list = m_ListLibr; list = m_ListLibr;
wildcard = FootprintLibFileWildcard; wildcard = LegacyFootprintLibFileWildcard;
} }
wxArrayInt selections; wxArrayInt selections;

View File

@ -273,7 +273,7 @@ void DIALOG_PCBNEW_CONFIG_LIBS::OnAddOrInsertLibClick( wxCommandEvent& event )
wxFileDialog FilesDialog( this, _( "Footprint library files:" ), libpath, wxFileDialog FilesDialog( this, _( "Footprint library files:" ), libpath,
wxEmptyString, wxEmptyString,
wxGetTranslation( FootprintLibFileWildcard ), wxGetTranslation( LegacyFootprintLibFileWildcard ),
wxFD_DEFAULT_STYLE | wxFD_MULTIPLE ); wxFD_DEFAULT_STYLE | wxFD_MULTIPLE );
if( FilesDialog.ShowModal() != wxID_OK ) if( FilesDialog.ShowModal() != wxID_OK )