GAL: Update grid color when changed by user
This commit is contained in:
parent
e3f399ca38
commit
e0beb36f1e
|
@ -485,6 +485,7 @@ void PCB_LAYER_WIDGET::OnRenderColorChange( int aId, EDA_COLOR_T aColor )
|
|||
{
|
||||
KIGFX::VIEW* view = myframe->GetGalCanvas()->GetView();
|
||||
view->GetPainter()->GetSettings()->ImportLegacyColors( myframe->GetBoard()->GetColorsSettings() );
|
||||
view->UpdateLayerColor( aId );
|
||||
}
|
||||
|
||||
myframe->GetCanvas()->Refresh();
|
||||
|
|
Loading…
Reference in New Issue