GAL: Update grid color when changed by user

This commit is contained in:
Simon Wells 2016-01-16 10:23:28 -05:00 committed by Chris Pavlina
parent e3f399ca38
commit e0beb36f1e
1 changed files with 1 additions and 0 deletions

View File

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