Resync nets & netclasses after updateFromPCB.
Fixes https://gitlab.com/kicad/code/kicad/issues/7793
This commit is contained in:
parent
91350ec9ea
commit
d18afa42cd
|
@ -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 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue