diff --git a/pcbnew/tools/edit_tool.cpp b/pcbnew/tools/edit_tool.cpp index 5be7f25396..8dac46385c 100644 --- a/pcbnew/tools/edit_tool.cpp +++ b/pcbnew/tools/edit_tool.cpp @@ -395,10 +395,7 @@ int EDIT_TOOL::Remove( TOOL_EVENT& aEvent ) remove( item ); } - // Rebuild list of pads and nets if necessary - BOARD* board = getModel( PCB_T ); - if( !( board->m_Status_Pcb & NET_CODES_OK ) ) - board->BuildListOfNets(); + getModel( PCB_T )->GetRatsnest()->Recalculate(); setTransitions();