Update canvas after changing netclass settings.

Fixes: lp:1786937
* https://bugs.launchpad.net/kicad/+bug/1786937
This commit is contained in:
Jeff Young 2018-08-25 23:18:29 +01:00
parent 8cb389d95c
commit 3587789ae2
1 changed files with 7 additions and 0 deletions

View File

@ -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();
}
}