Browse Source

pcbnew: Fix pads losing nets after Undo.

Wasn't fixed in all places after being broken in
13f5c78e89
newinvert
Alex 3 years ago
parent
commit
f31e5ea783
  1. 2
      pcbnew/netlist_reader/board_netlist_updater.cpp

2
pcbnew/netlist_reader/board_netlist_updater.cpp

@ -419,7 +419,7 @@ bool BOARD_NETLIST_UPDATER::updateComponentPadConnections( FOOTPRINT* aFootprint
// Create a copy only if the footprint has not been added during this update
FOOTPRINT* copy = nullptr;
if( m_commit.GetStatus( aFootprint ) )
if( !m_commit.GetStatus( aFootprint ) )
{
copy = static_cast<FOOTPRINT*>( aFootprint->Clone() );
copy->SetParentGroup( nullptr );

Loading…
Cancel
Save