From 7138e8a62ed3d12f0d62495702de29d8323ed365 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Wed, 21 Jun 2023 11:37:37 +0100 Subject: [PATCH] Don't double-create pins when migrating old models. --- eeschema/sim/sim_model.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/eeschema/sim/sim_model.cpp b/eeschema/sim/sim_model.cpp index 2bd39424d5..6e4cbc2fc5 100644 --- a/eeschema/sim/sim_model.cpp +++ b/eeschema/sim/sim_model.cpp @@ -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() )