Don't double-create pins when migrating old models.

This commit is contained in:
Jeff Young 2023-06-21 11:37:37 +01:00
parent 043ed0b148
commit 7138e8a62e
1 changed files with 0 additions and 2 deletions

View File

@ -1713,8 +1713,6 @@ void SIM_MODEL::MigrateSimModel( T_symbol& aSymbol, const PROJECT* aProject )
{
// Try to generate a default pin map from the SIM_MODEL's pins; if that fails,
// generate one from the symbol's pins
model.model.SIM_MODEL::createPins( sourcePins );
pinMapInfo.m_Text = wxString( model.model.Serializer().GeneratePins() );
if( pinMapInfo.IsEmpty() )