diff --git a/eeschema/sim/simulator_frame.cpp b/eeschema/sim/simulator_frame.cpp index b238ee81e1..ff75d8371c 100644 --- a/eeschema/sim/simulator_frame.cpp +++ b/eeschema/sim/simulator_frame.cpp @@ -60,6 +60,7 @@ #include "fmt/format.h" #include #include +#include #include @@ -989,6 +990,10 @@ bool SIMULATOR_FRAME::LoadSimulator() if( !m_schematicFrame->ReadyToNetlist( _( "Simulator requires a fully annotated schematic." ) ) ) return false; + // If we are using the new connectivity, make sure that we do a full-rebuild + if( ADVANCED_CFG::GetCfg().m_IncrementalConnectivity ) + m_schematicFrame->RecalculateConnections( GLOBAL_CLEANUP ); + if( !m_simulator->Attach( m_circuitModel, reporter ) ) { DisplayErrorMessage( this, _( "Errors during netlist generation.\n\n" ) + errors );