Commit e6fd3934 authored by Maciej Suminski's avatar Maciej Suminski

Fixed ratsnest update after removing items.

parent 85365b0d
......@@ -395,10 +395,7 @@ int EDIT_TOOL::Remove( TOOL_EVENT& aEvent )
remove( item );
}
// Rebuild list of pads and nets if necessary
BOARD* board = getModel<BOARD>( PCB_T );
if( !( board->m_Status_Pcb & NET_CODES_OK ) )
board->BuildListOfNets();
getModel<BOARD>( PCB_T )->GetRatsnest()->Recalculate();
setTransitions();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment