Update canvas after changing netclass settings.
Fixes: lp:1786937 * https://bugs.launchpad.net/kicad/+bug/1786937
This commit is contained in:
parent
8cb389d95c
commit
3587789ae2
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue