pcbnew: Fix pads losing nets after Undo.
Wasn't fixed in all places after being broken in13f5c78e89
(cherry picked from commitf31e5ea783
)
This commit is contained in:
parent
7693b93c50
commit
b867e51c6c
|
@ -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…
Reference in New Issue