modedit: Allow wildcard footprint import
When importing footprints, some are generated with non-standard (e.g. "mod") extensions. As a last option, we allow the * wildcard to select these files for import.
This commit is contained in:
parent
214d8d3703
commit
e5f5443762
|
@ -104,7 +104,8 @@ static wxFileName getFootprintFilenameFromUser( wxWindow* aParent, const wxStrin
|
||||||
|
|
||||||
wildCard << KiCadFootprintLibFileWildcard() << wxChar( '|' )
|
wildCard << KiCadFootprintLibFileWildcard() << wxChar( '|' )
|
||||||
<< ModLegacyExportFileWildcard() << wxChar( '|' )
|
<< ModLegacyExportFileWildcard() << wxChar( '|' )
|
||||||
<< GedaPcbFootprintLibFileWildcard();
|
<< GedaPcbFootprintLibFileWildcard() << wxChar( '|' )
|
||||||
|
<< AllFilesWildcard;
|
||||||
|
|
||||||
wxFileDialog dlg( aParent, FMT_IMPORT_MODULE, aLastPath, wxEmptyString, wildCard,
|
wxFileDialog dlg( aParent, FMT_IMPORT_MODULE, aLastPath, wxEmptyString, wildCard,
|
||||||
wxFD_OPEN | wxFD_FILE_MUST_EXIST );
|
wxFD_OPEN | wxFD_FILE_MUST_EXIST );
|
||||||
|
|
Loading…
Reference in New Issue