Resync nets & netclasses after updateFromPCB.

Fixes https://gitlab.com/kicad/code/kicad/issues/7793
This commit is contained in:
Jeff Young 2021-03-04 15:04:25 +00:00
parent 91350ec9ea
commit d18afa42cd
1 changed files with 2 additions and 0 deletions

View File

@ -944,6 +944,8 @@ bool BOARD_NETLIST_UPDATER::UpdateNetlist( NETLIST& aNetlist )
m_board->GetNetInfo().RemoveUnusedNets(); m_board->GetNetInfo().RemoveUnusedNets();
m_commit.Push( _( "Update netlist" ) ); m_commit.Push( _( "Update netlist" ) );
m_board->SynchronizeNetsAndNetClasses();
} }
else if( m_deleteSinglePadNets && !m_newFootprintsCount ) else if( m_deleteSinglePadNets && !m_newFootprintsCount )
{ {