diff --git a/pcbnew/clean.cpp b/pcbnew/clean.cpp index 880151ccc0..8931b4af41 100644 --- a/pcbnew/clean.cpp +++ b/pcbnew/clean.cpp @@ -120,6 +120,9 @@ void PCB_EDIT_FRAME::Clean_Pcb() if( dlg.ShowModal() != wxID_OK ) return; + if( IsGalCanvasActive() ) + Compile_Ratsnest( NULL, false ); + wxBusyCursor( dummy ); TRACKS_CLEANER cleaner( GetBoard() );