diff --git a/pcbnew/dialogs/dialog_global_deletion.cpp b/pcbnew/dialogs/dialog_global_deletion.cpp index e06f990b29..b4998f2a4d 100644 --- a/pcbnew/dialogs/dialog_global_deletion.cpp +++ b/pcbnew/dialogs/dialog_global_deletion.cpp @@ -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(); diff --git a/pcbnew/ratsnest_data.cpp b/pcbnew/ratsnest_data.cpp index 3c069e1932..deb6d08024 100644 --- a/pcbnew/ratsnest_data.cpp +++ b/pcbnew/ratsnest_data.cpp @@ -1009,6 +1009,8 @@ void RN_DATA::ProcessBoard() if( netCode > 0 ) m_nets[netCode].AddItem( zone ); } + + Recalculate(); }