Fix footprint library file extension bug in CvPcb and Pcbnew due to s-expression changes, fixes lp:1064593.
This commit is contained in:
parent
87e773b6f6
commit
fc9c8cc0ec
|
@ -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;
|
||||||
|
|
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue