From fc9c8cc0ec1453c99e1d51ef03705f5e48f863ac Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Tue, 9 Oct 2012 15:18:12 -0400 Subject: [PATCH] Fix footprint library file extension bug in CvPcb and Pcbnew due to s-expression changes, fixes lp:1064593. --- cvpcb/dialogs/dialog_cvpcb_config.cpp | 2 +- pcbnew/dialogs/dialog_pcbnew_config_libs_and_paths.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cvpcb/dialogs/dialog_cvpcb_config.cpp b/cvpcb/dialogs/dialog_cvpcb_config.cpp index b53bec3ea5..24f1faea21 100644 --- a/cvpcb/dialogs/dialog_cvpcb_config.cpp +++ b/cvpcb/dialogs/dialog_cvpcb_config.cpp @@ -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; diff --git a/pcbnew/dialogs/dialog_pcbnew_config_libs_and_paths.cpp b/pcbnew/dialogs/dialog_pcbnew_config_libs_and_paths.cpp index 684a5d9f6c..da17ab87c7 100644 --- a/pcbnew/dialogs/dialog_pcbnew_config_libs_and_paths.cpp +++ b/pcbnew/dialogs/dialog_pcbnew_config_libs_and_paths.cpp @@ -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 )