Commit 778011a8 authored by Maciej Suminski's avatar Maciej Suminski

Ratsnest is recalculated after global deletion of tracks and after importing a netlist.

parent 7614b93b
......@@ -254,6 +254,9 @@ void DIALOG_GLOBAL_DELETION::AcceptPcbDelete( )
if( gen_rastnest )
m_Parent->Compile_Ratsnest( NULL, true );
if( m_Parent->IsGalCanvasActive() )
pcb->GetRatsnest()->Recalculate();
}
m_Parent->GetCanvas()->Refresh();
......
......@@ -1009,6 +1009,8 @@ void RN_DATA::ProcessBoard()
if( netCode > 0 )
m_nets[netCode].AddItem( zone );
}
Recalculate();
}
......
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