diff --git a/pcbnew/pcb_edit_frame.cpp b/pcbnew/pcb_edit_frame.cpp index f4898e7510..64c41899c1 100644 --- a/pcbnew/pcb_edit_frame.cpp +++ b/pcbnew/pcb_edit_frame.cpp @@ -810,6 +810,13 @@ void PCB_EDIT_FRAME::ShowDesignRulesEditor( wxCommandEvent& event ) ReCreateAuxiliaryToolbar(); m_Layers->ReFillRender(); OnModify(); + + if( GetGalCanvas() ) + { + GetGalCanvas()->GetView()->RecacheAllItems(); + GetGalCanvas()->GetView()->MarkTargetDirty( KIGFX::TARGET_NONCACHED ); + } + GetCanvas()->Refresh(); } }