Fix saving a new footprint library.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15563
This commit is contained in:
parent
3a630fc5ab
commit
90eb59cf9f
|
@ -471,7 +471,7 @@ bool PCB_BASE_EDIT_FRAME::AddLibrary( const wxString& aFilename, FP_LIB_TABLE* a
|
|||
IO_MGR::PCB_FILE_T lib_type = IO_MGR::GuessPluginTypeFromLibPath( libPath );
|
||||
|
||||
if( lib_type == IO_MGR::FILE_TYPE_NONE )
|
||||
lib_type = IO_MGR::LEGACY;
|
||||
lib_type = IO_MGR::KICAD_SEXP;
|
||||
|
||||
wxString type = IO_MGR::ShowType( lib_type );
|
||||
|
||||
|
|
Loading…
Reference in New Issue