Fixed a crash when adding/removing pads
Fixes: lp:1627296 * https://bugs.launchpad.net/kicad/+bug/1627296
This commit is contained in:
parent
451cbedd2c
commit
f2462925ec
|
@ -1077,7 +1077,7 @@ bool RN_DATA::Add( const BOARD_ITEM* aItem )
|
|||
if( net <= NETINFO_LIST::ORPHANED )
|
||||
continue;
|
||||
|
||||
m_nets[net].AddItem( pad );
|
||||
Add( pad );
|
||||
}
|
||||
|
||||
return true;
|
||||
|
@ -1149,7 +1149,7 @@ bool RN_DATA::Remove( const BOARD_ITEM* aItem )
|
|||
if( net <= NETINFO_LIST::ORPHANED )
|
||||
continue;
|
||||
|
||||
m_nets[net].RemoveItem( pad );
|
||||
Remove( pad );
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue