Fix saving a new footprint library.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15563
This commit is contained in:
Alex Shvartzkop
2023-09-01 23:30:27 +03:00
parent 3a630fc5ab
commit 90eb59cf9f
+1 -1
View File
@@ -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 );