Don't discard footprint's library ID when saving.
Fixes: lp:1767736 * https://bugs.launchpad.net/kicad/+bug/1767736
This commit is contained in:
parent
ccb668c105
commit
41b92b6d0f
|
@ -755,7 +755,7 @@ bool FOOTPRINT_EDIT_FRAME::SaveFootprintInLibrary( wxString activeLibrary, MODUL
|
|||
return false;
|
||||
}
|
||||
|
||||
aModule->SetFPID( LIB_ID( footprintName ) );
|
||||
aModule->SetFPID( LIB_ID( libraryName, footprintName ) );
|
||||
|
||||
// Legacy libraries are readable, but modifying legacy format is not allowed
|
||||
// So prompt the user if he try to add/replace a footprint in a legacy lib
|
||||
|
|
Loading…
Reference in New Issue